Professional Documents
Culture Documents
Dbms 5
Dbms 5
2. Write a query to select Name, Phone, Email from the Par cipant table
4. Write a query to select all rows from Organiser table where Loca on is “Bandra” AND type is
College
5. Write a query to select all rows in Organiser table where Loca on is “Bandra” OR Type is College
8. Write a query to display all rows from Event and Order By Fees
9. Write a query to select all columns from the Organiser table where email contains “tsec”
10. Write a query to select Name, Email, Role from Par cipant Table and unions it with the entries
from the Speaker Table
SELECT Name, EMAIL, 'Par cipant' AS Role FROM PARTICIPANT
UNION
SELECT Name, EMAIL, 'Speaker' AS Role FROM SPEAKER;
11. Write a query to display the common Loca ons in the Event & Community tables
12. Write a query to display the loca ons from par cipants except “Bandra”
SELECT LOCATION FROM PARTICIPANT
MINUS
SELECT LOCATION FROM COMMUNITY WHERE LOCATION IN 'Bandra';
15. Write a query to calculate the Minimum Fess from all of the records of Event Table
SELECT MIN(Fees) AS min_fee FROM EVENT;
16. Write a query to calculate the Maximum Fess from all of the records of Event Table
17. Write a query to calculate the Average Dura on from all of the records of Event Table
18. Write a query to calculate the Sum of Fess from all of the records of Event Table
19. Write a query to calculate the Count of all the rows in the Community Table
20. Write a query to select the count of ID from the Event Table and Group By Loca on
22. Write a query to select loca on from the Event table where Loca on is “Panvel”