Assignment 6 (SQL Queries)
Assignment 6 (SQL Queries)
(i) Insert a new record in the above table with the following data:
11,‟Rita‟,‟Nokia‟,‟airtel‟,‟2009-04-06‟,365,3300
(ii) display all records from prepaid table.
(iii) display customer name, connection, model for all customers.
(iv) display the structure of table prepaid.
(v) display those customers whose connection is not Idea.
(vi) Display those connections whose validity is more than or equal to 50.
(vii) Write the output of following Queries:
(a) Select cname, validity from prepaid where amount>3000;
(b) Select model, validity from prepaid where validity=365;
(viii) To remove the table prepaid if it exist in database.
(ix) To remove the database mobile_world.
(x) what is the datatype of column activation_date.