Vous êtes sur la page 1sur 28

e function TIMESTAMPADD returns a new timestamp value based on adding an interval

to an existing timestamp value SQL Syntax:


TIMESTAMPADD (interval, count, timestamp)
Interval:
One of the follow constants SQL_TSI_FRAC_SECOND,
SQL_TSI_SECOND, SQL_TSI_MINUTE,
SQL_TSI_HOUR, SQL_TSI_DAY, SQL_TSI_WEEK,
SQL_TSI_MONTH, SQL_TSI_QUARTER, or
SQL_TSI_YEAR

Count:
The count of interval that is added.
Escape Syntax:
{fn TIMESTAMPADD (interval, count, timestamp)}
Return Type:
TIMESTAMP
Alternative Function Names:
DATEADD: This is the equivalent from the MS SQL Server.
Alternative Interval Names: Year yy, yyyy
quarter qq, q
Month mm, m
dayofyear dy, y
Day dd, d
Week wk, ww
Hour hh
minute mi, n
second ss, s
millisecond ms

Examples:

* SELECT timestampadd(SQL_TSI_DAY, 21, logdatetime) from mytable

see also:
SQL Date Time Functions mbentukan database
Creating tables (Creating tables)
Syntax

CREATE TABLE (
()
[UNIQUE] [NOT nul] [PRIMARY KEY] [DEFAULT]
[Referential_constraint_defenition>] [CHECK],
()
[UNIQUE] [NOT NULL] [PRIMARY KEY] [DEFAULT]
[Referential_constraint_defenition>] [CHECK],
...
);
information

Unique; In that column there should be no similar data.


Not Null; not be as valuable data in the column null,
Unique and Not Null; column can be used as a primary key.
Default: The default value that will automatically fill in these fields with default data
every insert operation performed.
Referential_Constraint_Definition; If the column is a foreign key to another table. With
syntax FOREIGN KEY REFERENCES

Example:

CREATE TABLE Student (


No_Induk CHAR (8),
Name CHAR (20),
Tgl_Lahir DATE,
Class CHAR (2)

);
CREATE TABLE Mata_Pelajaran (
Code CHAR (4),
Name CHAR (20),
Class CHAR (2)
);
CREATE TABLE Value (
No_Induk CHAR (8),
Code CHAR (4),
Nl_Angka Numbers
);
Creates an index (Creating indices)
Syntax

...
[() REFERENCES (),. . . ]
CREATE INDEX ON ();
Example:

DROP TABLE Student;


CREATE TABLE Student (
No_Induk CHAR (8) PRIMARY KEY,
Name CHAR (20),
Tgl_Lahir DATE,
Class CHAR (2)
);
CREATE INDEX ON nm Student (Name);
DROP TABLE Mata_Pelajaran;
CREATE TABLE Mata_Pelajaran (
Code CHAR (4) PRIMARY KEY,
Name CHAR (20),
Class CHAR (2)
);
CREATE TABLE Value (
No_Induk CHAR (8) REFERENCES Student (No_Induk)
Code CHAR (4) Mata_Pelajaran REFERENCES (Code),
Number Value
);
Changing tables (Altering tables)
Syntax

ALTER TABLE
[ADD ((),...);]
[Modify ((),...);]
Information

Add: Addition of new columns.


Modify: Modify existing columns.
Example:
ALTER TABLE Student
ADD (Jenis_Kelamin CHAR (10));
Removing tables (tables Dropping)
Syntax
DROP TABLE

DROP INDEX
Example:

DROP TABLE Student;


DROP INDEX nm;
II. Data Manipulation Language (DML) / Data Manipulation
Insertion of data (Inserting)
Syntax

INSERT INTO [(
VALUES
(,,...);
Example:

DROP TABLE CASCADE constraints Students;


CREATE TABLE Student (
No_Induk CHAR (8) PRIMARY KEY,
Name CHAR (20),
Tgl_Lahir DATE,
Class CHAR (2)
);

INSERT INTO Student


VALUES ('00311217 ',' Wempi Satria ', '02-JAN-1982', '1 ',' Male ');
INSERT INTO Student
VALUES ('00311211 ',' Wempi, '03-MAR -1982 ', '1', 'Male');
INSERT INTO Student
VALUES ('00311210 ',' Satria ', '12-DEC -1982', '1 ',' Woman ');
Change data (Updating)
Syntax

UPDATE
SET,
,
...,

[WHERE];
Example:

UPDATE Students
SET No_Induk = '00311216 ', Name =' Wati '
WHERE No_Induk = '00311210 'and name =' Satria ';
Delete data (Deletion)
Syntax

DELETE FROM
WHERE;
Example:

DELETE FROM Students


WHERE No_Induk = '00311211 ';
Data Selection (Selection)
Syntax

SELECT [*] [,,. . .,]


[,,. . . ,]
FROM
WHERE
[INTERNATIONAL]
[INTERNATIONAL MONTH_BETWEEN ();
Example:

SELECT * FROM Students;


SELECT a.No_Induk, a.Nama, b.Kode, b.Nama, c.Nl_Angka
FROM Student a, Mata_Pelajaran b, c Values;
WHERE a.No_Induk = c.No_Induk and b.Kode = c.kode;
Creating a virtual table (Creating views)
Syntax

CREATE VIEW
SELECT U.S.
FROM
WHERE;
III. Data Control Language (DCI) / Control Data
Confirmation of storing data in memory to the database (Commit)
Syntax

COMMIT [WORK];
Example:

INSERT INTO Student


VALUES ('00311210 ',' Satria ', '15-DEC -1982', '1 ',' Woman ');
COMMIT;
Restores the status before the storage transaction (Rollback)
Syntax

ROLLBACK [WORK];
Granting rights from one user to another user (Grant)
Syntax

GRANT
ON TO
[Gran WITH OPTION];
Abolition of rights granted (REVOKE)
Syntax

REVOKE
FROM;
Access Specification
All Privileges; All rights given.
Select; For selection
Update: To change data
Insert: To insert data
Delete: To remove data
IV. EXPRESSION
FROM

To define the table that becomes a source of data from a command selection
Example:

SELECT * FROM Student


WHERE

To define the conditions of a data retrieval selection command


Example:

SELECT * FROM Students WHERE No_Induk = '00311217 ';


GROUP BY

For Grouping data based on the expression of group


Syntax:

SELECT
FROM
WHERE
GROUP BY;
Example:

SELECT a.No_Induk, b.Nama, c.Nl_Angka


FROM Pelajar.a, Value b
WHERE a.No_Induk = c.No_Induk and b.kode = c.kode
GROUP BY a.No_Induk, b.Nama, c.Nl_Angka;
ORDER BY

To sort the data selection results


Syntax:

SELECT
FROM
WHERE
ORDER BY [DESC];
Example:

SELECT * FROM Student


ORDER BY No_Induk;
HAVING

To define limits of selection based on the GROUP BY


Syntax:

SELECT
FROM
WHERE
GROUP BY
HAVING;
Example:

SELECT a.No_Induk, b.Nama, c.Nl_Angka


FROM Pelajar.a, Value b
WHERE a.No_Induk = c.No_Induk and b.kode = c.kode
GROUP BY a.No_Induk, b.Nama, c.Nl_Angka
HAVING Score> 80;
V. Predicate
Comparison

Two terms of comparison with the value data types being compared must be the same

Equal to, =
Not the same,
Smaller, <
Larger>
Smaller and equal to,> =
Larger and equal to, <=
Betwen

Comparison to check whether a value is in a certain range or not


Syntax:

... Between ... INTERNATIONAL ...


... NOT Between ... INTERNATIONAL ...
Example:

Displaying data values in the range of 80 and 100

SELECT * FROM Value


WHERE Nl_Angka Between 80 AND 100;
IN / NOT IN

To check whether a value contained in a set


Syntax:
IN (...)
IN SELECT ...

NOT IN (...)
NOT IN SELECT ...
Example:

SELECT * FROM Student a


A.No_Induk WHERE IN (SELECT Value FROM b.No_Induk b);
LIKE / NOT LIKE

To compare the data with the pattern / a particular structure, to use one character (_) and
strings (%)
Syntax:

... LIKE
... NOT LIKE
Example:

SELECT * FROM Student


WHERE Name LIKE 'We%';
IS NULL / IS NOT NULL

To compare a value with NULL


Syntax:

... IS NULL
... IS NOT NULL
Example:

SELECT * FROM Student


WHERE IS NULL Classes
Exist

To check whether a query has a result or not


Syntax:

... WHERE exists (SELECT ...)


Example:

SELECT * FROM Student a


WHERE exists (
SELECT FROM b.No_Induk b Value
WHERE a.No_Induk = b.No_Induk);
Note
*
Keyword from SQL programs is not always the same so we need some modifications
in accordance with the standards used by the manufacturers SQL
*
The above syntax can be developed as needed depending on the creativity in
programming such as the addition sequence looping, functions, procedures, triggers, and
other - other
*
Above syntax can also be inserted in other applications such as web programming,
visual programming and relational programming.
*
Sign [] is optional

Other Articles:

* Function MySQL [Arithmetic] - Basic


* Function MySQL [Arithmetic] - Built In
* National Awakening Blaspheming
* Background / Background Pas Photos in Photoshop
* Web Start NetBeans IDE

Comment
Add Comment Search
<<Begin <Prev 1 2 Next> End>>
<<Begin <Prev 1 2 Next> End>>

playas - dizziness | 124.81.104.xxx | 2010-03-24 21:47:22


halo mas,

how can I modify an existing constraint value ....

thanks
Reply | Quote
Revelation - Remove the existing data of two tables d | 94.246.126.xxx | 2009-03-07
01:26:30
Mas I want to ask nh, Are You cranya delete existing data d 2 table with one keypress
delete.untuk printah sqlny yes Are You? Mkasih.
Reply | Quote
Wempi - bwt: revelation | 202.93.47.xxx | 2009-03-07 15:06:51
aja make it 2x the delete command in the program om the delete button.

but we can also ngeset directly in the database if it relates to the second table / reference,
if the mysql enggine use tools that replace the default MyISAM InnoDB.
If staying for Oracle classmates referencenya key, and set the ON DELETE CASCADE,
foreign key if it didelete,

his code examples,


CREATE TABLE supplier
(Supplier_id numeric (10) not null,
supplier_name VARCHAR2 (50) not null,
CONTACT_NAME VARCHAR2 (50),
Supplier_pk PRIMARY KEY constraint (supplier_id)
);

CREATE TABLE products


(Product_id numeric (10) not null,
supplier_id numeric (10) not null,
Constraint fk_supplier
FOREIGN KEY (supplier_id)
REFERENCES supplier (supplier_id)
ON DELETE CASCADE
);
Reply | Quote
Word | 114.121.153.xxx | 2010-03-24 22:07:50
please cariin formula dates from vb.net
Reply | Quote
Abuel - still view? | 118.98.184.xxx | 2008-11-18 14:54:25
seblumnya apologize, please enlightenment? I mean it is more likely to update existing
data in tables VIEW,
ex: there is a table view which data is taken from a different table and the second only
partially. What we can update the data in table view? klo can, how the existing data in
two tables that were not in view? klo there is a more in-depth tutorial about the view,
thanx ...!
Reply | Quote
Wempi - bwt: Abuel | 202.93.47.xxx | 2008-11-21 18:21:54
if for the view which can be edited in the insert etc. I did minimal practice, om can walk
into http://www.fluffycat.com/SQL/Views/ for more details.
Reply | Quote
abuel - manipulation of view? | 124.81.8.xxx | 2008-11-16 14:03:36
manipulation can not view or update a view directly to the table viewx? sy know that
only table view actual image of the table.
Reply | Quote
Wempi - bwt: abuel | 202.93.47.xxx | 2008-11-17 16:06:21
current view is divided into four
- Deletable view
- Updatable view
- Innsertable view
- Read-only view
Reply | Quote
Edisen - How to query tables | 118.136.119.xxx | 2008-11-03 03:44:38
mas, Nany Dunk ..
klu want to query between two tables nulisny pake DDL giman yach?
thx ...

Urgent!
Reply | Quote
Wempi - bwt: Edisen | 202.93.47.xxx | 2008-11-04 16:54:24
sorry still not grasp the purpose wempi om demand, inter-table query how ya?

possibly creating a view yak mo?

its syntax, CREATE VIEW [namaview] U.S. [SQLQuery]

[SQLQuery] make such ordinary SELECT om

more information can be found here http://blog.its.ac.id/dyah03tc/2007/11/11/modul-2-


data-definition-language-ddl/ om
Reply | Quote
benny | 125.162.82.xxx | 2008-10-14 00:10:24
ma sample notes in co kwn .........
Reply | Quote
Wempi - bwt: benny | 222.124.130.xxx | 2008-10-14 18:55:39
sory forgot ya,
SELECT * FROM Student a
A.No_Induk WHERE NOT IN (SELECT Value FROM b.No_Induk b);
Reply | Quote
windi - the meaning of the expression and predicate | 125.162.89.xxx | 2008-07-05
18:32:02
mas. asked nih mo .. mo from the translation of the above I ask what is the purpose and
expression
Contribute a better translation
Thank you for contributing your translation suggestion to Google Translate.
Contribute a better translation:
mbentukan database <br>Creating tables (Creating tables) <br>Syntax <br>
<br>CREATE TABLE ( <br>() <br>[UNIQUE] [NOT nul] [PRIMARY KEY]
[DEFAULT] <br>[Referential_constraint_defenition&gt;] [CHECK], <br>()
<br>[UNIQUE] [NOT NULL] [PRIMARY KEY] [DEFAULT]
<br>[Referential_constraint_defenition&gt;] [CHECK], <br>. . . <br>); <br>information
<br> <br>Unique; In that column there should be no similar data. <br>Not Null; not be
as valuable data in the column null, <br>Unique and Not Null; column can be used as a
primary key. <br>Default: The default value that will automatically fill in these fields
with default data every insert operation performed.
<br>Referential_Constraint_Definition; If the column is a foreign key to another table.
With syntax FOREIGN KEY REFERENCES <br> <br>Example: <br> <br>CREATE
TABLE Student ( <br>No_Induk CHAR (8), <br>Name CHAR (20), <br>Tgl_Lahir
DATE, <br>Class CHAR (2) <br>); <br>CREATE TABLE Mata_Pelajaran ( <br>Code
CHAR (4), <br>Name CHAR (20), <br>Class CHAR (2) <br>); <br>CREATE TABLE
Value ( <br>No_Induk CHAR (8), <br>Code CHAR (4), <br>Nl_Angka Numbers
<br>); <br>Creates an index (Creating indices) <br>Syntax <br> <br>. . . <br>[()
REFERENCES (),. . . ] <br>CREATE INDEX ON (); <br>Example: <br> <br>DROP
TABLE Student; <br>CREATE TABLE Student ( <br>No_Induk CHAR (8) PRIMARY
KEY, <br>Name CHAR (20), <br>Tgl_Lahir DATE, <br>Class CHAR (2) <br>);
<br>CREATE INDEX ON nm Student (Name); <br>DROP TABLE Mata_Pelajaran;
<br>CREATE TABLE Mata_Pelajaran ( <br>Code CHAR (4) PRIMARY KEY,
<br>Name CHAR (20), <br>Class CHAR (2) <br>); <br>CREATE TABLE Value
( <br>No_Induk CHAR (8) REFERENCES Student (No_Induk) <br>Code CHAR (4)
Mata_Pelajaran REFERENCES (Code), <br>Number Value <br>); <br>Changing tables
(Altering tables) <br>Syntax <br> <br>ALTER TABLE <br>[ADD ((),...);]
<br>[Modify ((),...);] <br>Information <br> <br>Add: Addition of new columns.
<br>Modify: Modify existing columns. <br>Example: <br> <br>ALTER TABLE
Student <br>ADD (Jenis_Kelamin CHAR (10)); <br>Removing tables (tables Dropping)
<br>Syntax <br> <br>DROP TABLE <br>DROP INDEX <br>Example: <br>
<br>DROP TABLE Student; <br>DROP INDEX nm; <br>II. Data Manipulation
Language (DML) / Data Manipulation <br>Insertion of data (Inserting) <br>Syntax <br>
<br>INSERT INTO [( <br>VALUES <br>(,,...); <br>Example: <br> <br>DROP
TABLE CASCADE constraints Students; <br>CREATE TABLE Student
( <br>No_Induk CHAR (8) PRIMARY KEY, <br>Name CHAR (20), <br>Tgl_Lahir
DATE, <br>Class CHAR (2) <br>); <br> <br>INSERT INTO Student <br>VALUES
(&#39;00311217 &#39;,&#39; Wempi Satria &#39;, &#39;02-JAN-1982&#39;, &#39;1
&#39;,&#39; Male &#39;); <br>INSERT INTO Student <br>VALUES
(&#39;00311211 &#39;,&#39; Wempi, &#39;03-MAR -1982 &#39;, &#39;1&#39;,
&#39;Male&#39;); <br>INSERT INTO Student <br>VALUES (&#39;00311210
&#39;,&#39; Satria &#39;, &#39;12-DEC -1982&#39;, &#39;1 &#39;,&#39; Woman
&#39;); <br>Change data (Updating) <br>Syntax <br> <br>UPDATE <br>SET, <br>,
<br>. . . , <br> <br>[WHERE]; <br>Example: <br> <br>UPDATE Students <br>SET
No_Induk = &#39;00311216 &#39;, Name =&#39; Wati &#39; <br>WHERE No_Induk
= &#39;00311210 &#39;and name =&#39; Satria &#39;; <br>Delete data (Deletion)
<br>Syntax <br> <br>DELETE FROM <br>WHERE; <br>Example: <br>
<br>DELETE FROM Students <br>WHERE No_Induk = &#39;00311211 &#39;;
<br>Data Selection (Selection) <br>Syntax <br> <br>SELECT [*] [,,. . .,] <br>[,,. . . ,]
<br>FROM <br>WHERE <br>[INTERNATIONAL] <br>[INTERNATIONAL
MONTH_BETWEEN (); <br>Example: <br> <br>SELECT * FROM Students;
<br>SELECT a.No_Induk, a.Nama, b.Kode, b.Nama, c.Nl_Angka <br>FROM Student a,
Mata_Pelajaran b, c Values; <br>WHERE a.No_Induk = c.No_Induk and b.Kode =
c.kode; <br>Creating a virtual table (Creating views) <br>Syntax <br> <br>CREATE
VIEW <br>SELECT U.S. <br>FROM <br>WHERE; <br>III. Data Control Language
(DCI) / Control Data <br>Confirmation of storing data in memory to the database
(Commit) <br>Syntax <br> <br>COMMIT [WORK]; <br>Example: <br> <br>INSERT
INTO Student <br>VALUES (&#39;00311210 &#39;,&#39; Satria &#39;, &#39;15-
DEC -1982&#39;, &#39;1 &#39;,&#39; Woman &#39;); <br>COMMIT; <br>Restores
the status before the storage transaction (Rollback) <br>Syntax <br> <br>ROLLBACK
[WORK]; <br>Granting rights from one user to another user (Grant) <br>Syntax <br>
<br>GRANT <br>ON TO <br>[Gran WITH OPTION]; <br>Abolition of rights granted
(REVOKE) <br>Syntax <br> <br>REVOKE <br>FROM; <br>Access Specification
<br> <br>All Privileges; All rights given. <br>Select; For selection <br>Update: To
change data <br>Insert: To insert data <br>Delete: To remove data <br>IV.
EXPRESSION <br>FROM <br> <br>To define the table that becomes a source of data
from a command selection <br>Example: <br> <br>SELECT * FROM Student
<br>WHERE <br> <br>To define the conditions of a data retrieval selection command
<br>Example: <br> <br>SELECT * FROM Students WHERE No_Induk =
&#39;00311217 &#39;; <br>GROUP BY <br> <br>For Grouping data based on the
expression of group <br>Syntax: <br> <br>SELECT <br>FROM <br>WHERE
<br>GROUP BY; <br>Example: <br> <br>SELECT a.No_Induk, b.Nama, c.Nl_Angka
<br>FROM Pelajar.a, Value b <br>WHERE a.No_Induk = c.No_Induk and b.kode =
c.kode <br>GROUP BY a.No_Induk, b.Nama, c.Nl_Angka; <br>ORDER BY <br>
<br>To sort the data selection results <br>Syntax: <br> <br>SELECT <br>FROM
<br>WHERE <br>ORDER BY [DESC]; <br>Example: <br> <br>SELECT * FROM
Student <br>ORDER BY No_Induk; <br>HAVING <br> <br>To define limits of
selection based on the GROUP BY <br>Syntax: <br> <br>SELECT <br>FROM
<br>WHERE <br>GROUP BY <br>HAVING; <br>Example: <br> <br>SELECT
a.No_Induk, b.Nama, c.Nl_Angka <br>FROM Pelajar.a, Value b <br>WHERE
a.No_Induk = c.No_Induk and b.kode = c.kode <br>GROUP BY a.No_Induk, b.Nama,
c.Nl_Angka <br>HAVING Score&gt; 80; <br>V. Predicate <br>Comparison <br>
<br>Two terms of comparison with the value data types being compared must be the
same <br> <br>Equal to, = <br>Not the same, <br>Smaller, &lt; <br>Larger&gt;
<br>Smaller and equal to,&gt; = <br>Larger and equal to, &lt;= <br>Betwen <br>
<br>Comparison to check whether a value is in a certain range or not <br>Syntax: <br>
<br>... Between ... INTERNATIONAL ... <br>... NOT Between ...
INTERNATIONAL ... <br>Example: <br> <br>Displaying data values in the range of 80
and 100 <br> <br>SELECT * FROM Value <br>WHERE Nl_Angka Between 80 AND
100; <br>IN / NOT IN <br> <br>To check whether a value contained in a set
<br>Syntax: <br> <br>IN (...) <br>IN SELECT ... <br> <br>NOT IN (...) <br>NOT IN
SELECT ... <br>Example: <br> <br>SELECT * FROM Student a <br>A.No_Induk
WHERE IN (SELECT Value FROM b.No_Induk b); <br>LIKE / NOT LIKE <br>
<br>To compare the data with the pattern / a particular structure, to use one character (_)
and strings (%) <br>Syntax: <br> <br>... LIKE <br>... NOT LIKE <br>Example: <br>
<br>SELECT * FROM Student <br>WHERE Name LIKE &#39;We%&#39;; <br>IS
NULL / IS NOT NULL <br> <br>To compare a value with NULL <br>Syntax: <br>
<br> ... IS NULL <br>... IS NOT NULL <br>Example: <br> <br>SELECT * FROM
Student <br>WHERE IS NULL Classes <br>Exist <br> <br>To check whether a query
has a result or not <br>Syntax: <br> <br>... WHERE exists (SELECT ...) <br>Example:
<br> <br>SELECT * FROM Student a <br>WHERE exists ( <br>SELECT FROM
b.No_Induk b Value <br>WHERE a.No_Induk = b.No_Induk); <br>Note <br> <br> *
<br> Keyword from SQL programs is not always the same so we need some
modifications in accordance with the standards used by the manufacturers SQL <br> *
<br> The above syntax can be developed as needed depending on the creativity in
programming such as the addition sequence looping, functions, procedures, triggers, and
other - other <br> * <br> Above syntax can also be inserted in other applications
such as web programming, visual programming and relational programming. <br> *
<br> Sign [] is optional <br> <br> <br> <br>Other Articles: <br> <br> * Function
MySQL [Arithmetic] - Basic <br> * Function MySQL [Arithmetic] - Built In <br> *
National Awakening Blaspheming <br> * Background / Background Pas Photos in
Photoshop <br> * Web Start NetBeans IDE <br> <br>Comment <br>Add Comment
Search <br>&lt;&lt;Begin &lt;Prev 1 2 Next&gt; End&gt;&gt; <br>&lt;&lt;Begin
&lt;Prev 1 2 Next&gt; End&gt;&gt; <br> <br>playas - dizziness | 124.81.104.xxx | 2010-
03-24 21:47:22 <br>halo mas, <br> <br>how can I modify an existing constraint
value .... <br> <br>thanks <br>Reply | Quote <br>Revelation - Remove the existing data
of two tables d | 94.246.126.xxx | 2009-03-07 01:26:30 <br>Mas I want to ask nh, Are
You cranya delete existing data d 2 table with one keypress delete.untuk printah sqlny
yes Are You? Mkasih. <br>Reply | Quote <br>Wempi - bwt: revelation | 202.93.47.xxx |
2009-03-07 15:06:51 <br>aja make it 2x the delete command in the program om the
delete button. <br> <br>but we can also ngeset directly in the database if it relates to the
second table / reference, if the mysql enggine use tools that replace the default MyISAM
InnoDB. <br> <br>If staying for Oracle classmates referencenya key, and set the ON
DELETE CASCADE, foreign key if it didelete, <br> <br>his code examples,
<br>CREATE TABLE supplier <br>(Supplier_id numeric (10) not null,
<br>supplier_name VARCHAR2 (50) not null, <br>CONTACT_NAME VARCHAR2
(50), <br>Supplier_pk PRIMARY KEY constraint (supplier_id) <br>); <br> <br>
<br>CREATE TABLE products <br>(Product_id numeric (10) not null, <br>supplier_id
numeric (10) not null, <br>Constraint fk_supplier <br>FOREIGN KEY (supplier_id)
<br>REFERENCES supplier (supplier_id) <br>ON DELETE CASCADE <br>);
<br>Reply | Quote <br>Word | 114.121.153.xxx | 2010-03-24 22:07:50 <br>please cariin
formula dates from vb.net <br>Reply | Quote <br>Abuel - still view? | 118.98.184.xxx |
2008-11-18 14:54:25 <br>seblumnya apologize, please enlightenment? I mean it is more
likely to update existing data in tables VIEW, <br>ex: there is a table view which data is
taken from a different table and the second only partially. What we can update the data in
table view? klo can, how the existing data in two tables that were not in view? klo there is
a more in-depth tutorial about the view, thanx ...! <br>Reply | Quote <br>Wempi - bwt:
Abuel | 202.93.47.xxx | 2008-11-21 18:21:54 <br>if for the view which can be edited in
the insert etc. I did minimal practice, om can walk into
http://www.fluffycat.com/SQL/Views/ for more details. <br>Reply | Quote <br>abuel -
manipulation of view? | 124.81.8.xxx | 2008-11-16 14:03:36 <br>manipulation can not
view or update a view directly to the table viewx? sy know that only table view actual
image of the table. <br>Reply | Quote <br>Wempi - bwt: abuel | 202.93.47.xxx | 2008-
11-17 16:06:21 <br>current view is divided into four <br>- Deletable view <br>-
Updatable view <br>- Innsertable view <br>- Read-only view <br>Reply | Quote
<br>Edisen - How to query tables | 118.136.119.xxx | 2008-11-03 03:44:38 <br>mas,
Nany Dunk .. <br>klu want to query between two tables nulisny pake DDL giman yach?
<br>thx ... <br> <br> <br> <br> <br>Urgent! <br>Reply | Quote <br>Wempi - bwt:
Edisen | 202.93.47.xxx | 2008-11-04 16:54:24 <br>sorry still not grasp the purpose
wempi om demand, inter-table query how ya? <br> <br>possibly creating a view yak
mo? <br> <br>its syntax, CREATE VIEW [namaview] U.S. [SQLQuery] <br>
<br>[SQLQuery] make such ordinary SELECT om <br> <br>more information can be
found here http://blog.its.ac.id/dyah03tc/2007/11/11/modul-2-data-definition-language-
ddl/ om <br>Reply | Quote <br>benny | 125.162.82.xxx | 2008-10-14 00:10:24 <br>ma
sample notes in co kwn ......... <br>Reply | Quote <br>Wempi - bwt: benny |
222.124.130.xxx | 2008-10-14 18:55:39 <br>sory forgot ya, <br>SELECT * FROM
Student a <br>A.No_Induk WHERE NOT IN (SELECT Value FROM b.No_Induk b);
<br>Reply | Quote <br>windi - the meaning of the expression and predicate |
125.162.89.xxx | 2008-07-05 18:32:02 <br>mas. asked nih mo .. mo from the translation
of the above I ask what is the purpose and expression

Languages available for translation:

Afrikaans
Albanian
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bulgarian
Catalan
Chinese Croatian
Czech
Danish
Dutch
English
Estonian
Filipino
Finnish
French
Galician Georgian
German
Greek
Haitian Creole
Hebrew
Hindi
Hungarian
Icelandic
Indonesian
Irish Italian
Japanese
Korean
Latvian
Lithuanian
Macedonian
Malay
Maltese
Norwegian
PersianPolish
Portuguese
Romanian
Russian
Serbian
Slovak
Slovenian
Spanish
Swahili
Swedish Thai
Turkish
Ukrainian
Urdu
Vietnamese
Welsh
Yiddish
Football fever? Speak soccer in any language with Google Translate. Learn more!
©2010 Google - Turn off instant translation - Privacy Policy - Help

Vous aimerez peut-être aussi