हिंदी

Consider the following table stationary. Write SQL commands for following statement. Write SQL command to create above Table. - Information Technology

Advertisements
Advertisements

प्रश्न

Consider the following table stationary. Write SQL commands for following statement.

S_ID S_Name C_Name Price Quantity
001 Note Book ABC 20 50
002 Pencil Box XYZ 10 80
003 A4 Pages rim PQR 600 2

Write SQL command to create above Table.

कोड लेखन

उत्तर

Create table Stationary (
S_ID int primary key,
S_Name varchar (20),
C_Name varchar (20),
Price smallint,
Quantity smallint
);
shaalaa.com
Data Definition Language (DDL) Commands
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Introduction to DBMS - Exercise [पृष्ठ २९]

APPEARS IN

बालभारती Information Technology (IT) [English] 11 Standard Maharashtra State Board
अध्याय 2 Introduction to DBMS
Exercise | Q 5. 1) | पृष्ठ २९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×