DBMS Lab-3 - 21066
DBMS Lab-3 - 21066
1b)
1c)
2)cust
3)movie master
Invoice
8. Find out the customers who stay in an area whose second letter is ‘a'.
9. Find the list of all customers who stay in area 'ba’ or area ‘mu' or area 'gh’.
10. Print the list of movies with prices greater than 150.
11. Print all the information from the invoice table of customers who have been issued
movies in the month of September.
12. Display the invoice table information for custid 'A01' and 'A02'.
This query will result in a syntax error because you cannot use an aggregate function (COUNT)
in the WHERE clause directly.
24. Find the name and movie of the customer who have issued a movie.
25. List the names, areas and customer - id of customers without phone
Numbers.
26. Delete all the records having return date before 10th July'93
32. Add a column remark of type varchar and size 25 to the invoice table.
33. Find out the movie number which has been issued to customer whose first name is
‘Pramada’.
38. Delete all the records having return date before 10th July '93
39. Change the area of custid a05 to ‘vs’.
40. Insert fname for customer with lname Rukmini
41. Increase the price of all movies by 100.00