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
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));