0% found this document useful (0 votes)
26 views

TIS3351 Advanced Databse Lab 3 - Advanced SQL 2 (DML)

This document provides instructions for a lab assignment on advanced SQL queries. Students are asked to write SQL commands to: (1) show information for outdoor events; (2) list event managers who have managed more than one engagement; (3) list various information for all engagements including description, client name, type, date, time, location, and manager; (4) list the month and number of engagements per month in 2015; (5) list canopy descriptions and charges; (6) list client names with number of events and total fees; (7) list unused equipment; and (8) show the most popular event.

Uploaded by

Abdulaziz Gamal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

TIS3351 Advanced Databse Lab 3 - Advanced SQL 2 (DML)

This document provides instructions for a lab assignment on advanced SQL queries. Students are asked to write SQL commands to: (1) show information for outdoor events; (2) list event managers who have managed more than one engagement; (3) list various information for all engagements including description, client name, type, date, time, location, and manager; (4) list the month and number of engagements per month in 2015; (5) list canopy descriptions and charges; (6) list client names with number of events and total fees; (7) list unused equipment; and (8) show the most popular event.

Uploaded by

Abdulaziz Gamal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

TIS3351 Advanced Databse

Lab 3 – Advanced SQL 2 (DML)

1. Given the tables that you have created in Lab1, write the SQL commands to
perform the following tasks:

a) Show the complete information of events that are conducted outdoor.

b) List the name of event manager who has managed more than one
engagements.

c) List out the following information for all the engagements:


i. Event Description
ii. Client Name
iii. Event Type
iv. Date of Event
v. Time of Event
vi. Location of Event
vii. Name of Event Manager

d) List out the month name and the number of engagements organized in each
month for year 2015.

e) List out the description and the charge per day for all types of canopy.

f) For each client, list out its name, the number of events and the total fees that
has been charged for organizing all the events.

g) List out the information of equipment that have not been used before.

h) Show the most popular event of this company, as engaged by its clients.

You might also like