| 11. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) CHANGE CITY NAME OF PRABHU RAGI FROM SYDNEY TO DALLAS.
|
||||||||
|
Answer:
Option (b) |
| 12. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) GIVE 10% INCREMENT IN AMOUNT.
|
||||||||
|
Answer:
Option (a) |
| 13. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) UPDATE AMOUNT OF ALL CUSTOMERS FROM 3000 TO 5000.
|
||||||||
|
Answer:
Option (c) |
| 14. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) UPDATE POSTAL CODE OF ALL CUSTOMERS TO NULL WHOSE CUSTOMER ID BETWEEN 202 & 204.
|
||||||||
|
Answer:
Option (d) |
| 15. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) UPDATE CUSTOMER NAME, CONTACT NUMBER & CITY to KARTIK JAIN, 98980 95263 & VIRPUR WHOSE CUSTOMER ID IS 201.
|
||||||||
|
Answer:
Option (a) |
| 16. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) ADD ONE MORE COLUMN ADDRESS IN CUSTOMER TABLE.
|
||||||||
|
Answer:
Option (c) |
| 17. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) CHANGE DATATYPE OF CONTACT NUMBER TO VARCHAR (50).
|
||||||||
|
Answer:
Option (c) |
| 18. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) CHANGE COLUMN NAME CITY TO CITYNAME.
|
||||||||
|
Answer:
Option (a) |
| 19. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) REMOVE COLUMN POSTAL CODE FROM CUSTOMER TABLE.
|
||||||||
|
Answer:
Option (b) |
| 20. |
Write SQL statements (Query) for following tables: Customers (CustomerID, CustomerName, ContactNo, City, PostalCode, Country, Amount) CHANGE TABLE NAME CUSTOMER TO CUSTOMER_DETAILS.
|
||||||||
|
Answer:
Option (d) |