Question: Not this also appears in the TMAO 2 document as Question 6 , figure 7 . SpecialismStrings: VARCHAR ( 1 2 0 ) SpecialismStrings: VARCHAR
Not this also appears in the TMAO document as Question figure
SpecialismStrings: VARCHAR
SpecialismStrings: VARCHAR Emailstrings: VARCHAR CHECKVALUE LIKE @
ClientNumbers: CHAR
TypeNames: VARCHAR ModelNumbers: VARCHAR
ModelNumbers: VARCHAR SerialNumbers: VARCHAR
MonetaryValue: MERIC CHECKVALUE
a Write SQL statements that answer each of the requests for data in the shedspace.txt
tables:
i Produce a list of the instructor names, rename the output column as experts.
marks
ii How many clients are there?
marks
iii. For each machine which has an insurance value of over give their
typename and serial number as well as the insurance value.
marks
iv How many machines are of the types 'Desktop Router' or 'Laser Cutter'?
marks
v List the different sponsors currently sponsoring clients Hint: NULL is not a
sponsor
marks
vi How many tickets have been issued to clients for the event on at
:
marks
vii. How many instructors are in each department? Give the department name and the
number of instructors.
marks
viii. For each training event that has unissued tickets, list the date and time of the
event and the number of unissued tickets for that event. Produce the list in
increasing order of tickets available. NOTE: This can be satisfied using just the
Ticket table.
ix Give the family name and number of clients with the same family name where the
same family name occurs or more times.
marks
For each machine, list the type of the machine, the model number, serial number,
and purchase date of the machine. The output should be sorted so that the oldest
machines are first.
marks
xi For each sponsored client who has tickets for more than one training event, list
their first name, family name and sponsor.
marks
xii. List any client who does not have a ticket for any training event, give their client
number, family and first names.
marks
xiii. Give the typename for any machine type that has not been the focus of a training
event.
marks
xiv. For each instructor and each training event they deliver, give their name, the title of
the event, and the number of tickets still available for each event they are
delivering.
marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
