Question: a) Write SQL statement to create the AGENTS table [5 marks] b) Write SQL statement to change the datatype of COUNTRY to CHAR (20)

a) Write SQL statement to create the AGENTS table [5 marks] b)

Write SQL statement to change the datatype of COUNTRY to CHAR (20)  

a) Write SQL statement to create the AGENTS table [5 marks] b) Write SQL statement to change the datatype of COUNTRY to CHAR (20) [3 marks] c) Write SQL statement to drop the table AGENTS [3 marks] d) Write SQL statement to make the WORKING AREA column as NOT NULL [3 marks] e) Write SQL statement add a column AGENT_TYPE with datatype as CHAR(10) [3 marks] AGENTS AGENT_CODE CHAR(6) AGENT NAME CHAR(40) WORKING AREA CHAR (35) Y COMMISSION DECIMAL (10,2) OPHONE NO CHAR(15) COUNTRY VARCHAR(25) Indexes

Step by Step Solution

3.35 Rating (158 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a Write SQL statement to create the AGENTS table CREATE TA... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!