English

Write the SQL statement to create a table, Customer with the following specifications: Column Name, CID, FName, LName, Age, Data Type, Int, Varchar (20), Varchar (20) Int, Key, Primary Key - Informatics Practices

Advertisements
Advertisements

Question

Write the SQL statement to create a table, Customer with the following specifications:

Table: Customer
Column Name Data Type Key
CID Int Primary Key
FName Varchar (20)  
LName Varchar (20)  
Age Int  
Code Writing
Advertisements

Solution

CREATE TABLE CUSTOMER
(
CID INT PRIMARY KEY,
FNAME VARCHAR (20),
LNAME VARCHAR (20),
AGE INT
);
shaalaa.com
  Is there an error in this question or solution?
2024-2025 (March) Set 4

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×