Computer Science, asked by Krishna61201, 11 months ago

How do you create table in database?





























Answers

Answered by prynkadeb
2

CREATE TABLE table_name (

   attribute_name datatype,

   attribute_name datatype,

   attribute_name datatype,

  ....

);

if you want to declare an attribute as primary key, just add <space> after datatype and write primary key


prynkadeb: make sure to mention size when datatype is Varchar OR Char as, char(size), varchar(size)
Similar questions