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)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2023/09/64fc84b3107be_1694270641163.jpg)
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
a Write SQL statement to create the AGENTS table CREATE TA... View full answer
Get step-by-step solutions from verified subject matter experts
