Chapter 6 The SQL-DDL Language
Chapter 6 The SQL-DDL Language
Chapter 6 The SQL-DDL Language
Solution:
CREATE TABLE department
(
dno int not null,
Dname varchar(15) not null
)
CREATE TABLE student
(
idNo varchar(10) not null,
fname varchar(15),
lname varchar(15),
age int ,
sex char(1),
dnumber int
)
Implementing Constraints