Advertisements
Advertisements
Question
Create the following table.
Students
| Column name | Data type | Size | Constraints |
| Adno | Integer | 3 | Primary key |
| Name | Varchar | 20 | |
| Average | Integer | 3 | |
| Sex | Char | 1 | |
| Scode | Integer | 4 |
Code Writing
Advertisements
Solution
CREATE TABLE Students (
Adno INTEGER(3) PRIMARY KEY,
Name VARCHAR(20),
Average INTEGER(3),
Sex CHAR(1),
Scode INTEGER(4)
);shaalaa.com
Is there an error in this question or solution?
