Q6. Write the Create database Student & create table syntax with example: Student Table {Columns ST_ID,ST_NAME, ST_ROLL }
Answers
Answered by
16
Command:
Create database Student;
Create table student(St_ID int, ST_NAME varchar (20), ST_ROLL int );
Explanation:
- Create database/ table creates a database/ table respectively.
- While creating a table you have to assign the names of the column and the respective datatypes within parentheses.
DüllStâr:
Good explanation! :D
Similar questions
Math,
2 months ago
English,
2 months ago
Hindi,
4 months ago
Social Sciences,
11 months ago
English,
11 months ago