Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

undefined Ahalia sports club stores information about the sports activities they conduct regularly. The members of the club use items such as helmets, pads etc.

image text in transcribedundefined

Ahalia sports club stores information about the sports activities they conduct regularly. The members of the club use items such as helmets, pads etc. supplied by the center. These items belong to different types and categories and they are supplied by different suppliers. Every sports activity is identified by an activity code, activity name, and activity description. The supplier details such as supplier code, supplier name, supplier address and supplier email are stored by the centre. Every category of item is identified by an Item Category code and Item Category name. Every item type is identified by an Item Type code, Item Type name and Item Category code. Every item is identified by an Item id, Item name, Item Type code, and Item description. Every item is supplied by one or more supplier, and a supplier supplies one or more items. When a supplier supplies an item, the quantity, price and the data of supply is recorded by the club. Every item is used in one or more sports activity and in a sports activity, one or more items are used. When an item is used in a sports activity, the hours of usage must be considered. Explain each query in your own words. 1) Use the designed relations to write SQL statements for the following questions: - a. Display all the items supplied by the supplier 'Waleed'. (5 marks] b. Display the names of all item types with their category names. [4 marks] C. Display the details of sports activities with activity name starting with other than any letter within 'M' and 'Z. [3 marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

=+ What are the information and consultation requirements?

Answered: 1 week ago

Question

=+ Should the MNE belong (why, why not)?

Answered: 1 week ago