for我only Xd Look&Feel*v* sub我!xD subs list=] 放畫用的BLOG*
About this Entry
Posted by: online now Mayla416

Visit Mayla416's Xanga Site

Original: 10/28/2009 11:58 PM
Views: 1
Comments: 0
eProps: 0

Read Comments
Post a Comment
Back to Your Xanga Site


Wednesday, October 28, 2009

 

CREATE TABLE employee
(empid NUMBER(3) NOT NULL,
lastname VARCHAR2(10) NOT NULL,
firstname VARCHAR2(15) NOT NULL,
title CHAR(9),
salary NUMBER(9,2),

PK
CONSTRAINT employee_pk PRIMARY KEY (empid),
CONSTRAINT emp_sal_min CHECK (salary >=5000));

--------------------------------
FK
CONSTRAINT order_custid_fk FOREIGN KEY (customer_id) REFERENCES customer (customer_id)

 Posted 10/28/2009 11:58 PM - 1 View - 0 eProps - 0 comments

Give eProps or Post a Comment

Choose Identity
(?)
 
Give eProps (?)
Post a Comment
Add Link | Preview HTML comment help 
Profile Pic:
Default  |  Choose »  (?)



Back to Mayla416's Xanga Site!
Note: your comment will appear in Mayla416's local time zone:
GMT +08:00 (China Coast)