Assignment SQL (DBMS)
Assignment SQL (DBMS)
Assignment SQL – I
1.5. Add a new column PRICE in Movie table with data type number(8,2)
Assignment SQL – II
2. Insert the following data into the respective tables :
2.1. Data for Cust table
Cust_id Lname fname Area Phone_no
a01 Bayross Ivan sa 6125467
a02 Saitwal Vandana mu 5560379
a03 Jaguste Pramada da 4563891
a04 Navindgi Basu ba 6125401
a05 Sreedharan Ravi va -
a06 - Rukmini gh 5125274
Assignment SQL – IV
Assignment SQL – V
5.1. Find out the movie number which has been issued to 'ivan'.
5.2. Find the names and movie numbers of all the customers who have been issued a movie.
5.3. Select the title, cust - id, mv - no for all the movies that are issued.
5.4. Find out the title and types of the movies that have been issued to 'Vandana'.
5.5. Find the names of customers who have been issued movie of type 'drama'.
5.6. Display the title, lname, fname for customers having movie number greater than or
equal to three, in the following format:
The movie taken by (fname} {lname} is {title}.
5.7. Find out which customers have been issued movie number 9.
5.8. Find the customer name and area with invoice number 'i10'.
5.9. Find the customer names and phone numbers who have been issued movies before the
month of August.
5.10. Find the name of the movie issued to 'vandana' and 'ivan'.
5.11. List the movie number, movie names issued to all customers.
5.12. Find the type and movie number of movie issued to cust – id 'a01' and 'a02'.
5.13. Find out if the movie starring' tom cruise' is issued to any customer and print the custid
to whom it is issued.
5.14. Find the lname, fname who have been issued movies.
5.15. Find the name of customer whose has not issued any movie
Assignment SQL – VI