InterviewSolution
Saved Bookmarks
| 1. |
Write MySql command to create the table DEPARTMENT with given constraints.COLUMN_NAMEDATATYPE(SIZE)CONSTRAINTDepartmentlDInt (4)Primary KeyDepNameVarchar (50)Not NullManagerIDChar (4)LocationVarchar (30) |
|
Answer» CREATE TABLE DEPARTMENT (DepartmentlD INT(4) PRIMARY KEY DepName VARCHAR(50) NOT NULL, ManagerlD CHAR(4), Location VARCHAR(30)); |
|