Grade 12 SQL Practical Record
Grade 12 SQL Practical Record
16. Consider the following MOVIE table and write the SQL queries based on it.
11-11-2024
c) Display movie id, movie name, total_earning by showing the business done by
the
movies. Calculate the business done by movie using the sum of production
cost and
business cost.
d) Display movie id, movie name and production cost for all movies with
production cost
greater than 150000 and less than 1000000.
f) Display the list of movies which are going to release in February, 2022.
17. Consider the given table Patient and Write the following queries: 12-11-
2024
a) Display the matchid, teamid, teamscore who scored more than 70 in first
inning along with team name.
19. Consider the following table and write the queries: 18-11-2024
d) Display average price of items for each dealer individually as per dcode from
stock which
Note:- The attributes in the table Customer are cid, cname, city, bill_amt,
category