Advertisements
Advertisements
Question
Create the following table.
| Column name | Data type | Size | Constraints |
| Scode | Integer | 3 | Primary key |
| Sname | Varchar | 20 | |
| Place | Varchar | 10 |
Code Writing
Advertisements
Solution
CREATE TABLE Streams (
Scode INTEGER(3) PRIMARY KEY,
Sname VARCHAR(20),
Place VARCHAR(10)
);shaalaa.com
Is there an error in this question or solution?
Chapter 10: Structure Query Language - EXERCISE [Page 201]
