0

Write a DDL statement for

cid, integer, primary key cname, varchar, <25 age, integer, >10 DOB, date, no blank value, address, varchar, default value Kathmandu

10th Nov 2016, 1:34 PM
Neha Habn
Neha Habn - avatar
1 Answer
0
CREATE TABLE Personnel ( cid int not nullPRIMARY KEY, cname varchar(25) not null, age int not null check > 10, DOB date not null, address varchar (50) default kathmandu, PrimaryKey (cid));
25th Nov 2016, 5:55 AM
Akwin Lopez
Akwin Lopez - avatar