Computer Science, asked by manoramaj75, 1 month ago

write SQL Query to create the following table (column name) roll number ,sname, gender ,DoB,fees , hobby, (data type) integer ,varchar,char, data, integer,varchar (size)4,25, 1 , ,4,15 (costraint)primary key, not null,not null, not null,not null, ,​

Answers

Answered by nikithdevthottempudi
1

Answer:

create table name where coloum 1 is roll number integer 4,coloum 2 is sname varchar 25,coloum 3 is gender char 1,coloum 4 is dob date 4,coloum 5 is fees integer15,coloum 6 is hobby 25, varchar,primary key not null;

Explanation:

by default 1 st coloum is primary key so lets dont sidturb it

Similar questions