1 / 2

Basics of relational databases Exercises with Northwind sample database

Basics of relational databases Exercises with Northwind sample database. 1. Answer to the questions based on the information in the Northwind database. a) Find all German suppliers. How many are there ? b) What products does Karkki Oy supply ?

Download Presentation

Basics of relational databases Exercises with Northwind sample database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Basics of relational databasesExercises with Northwind sample database 1. Answer to the questions based on the information in the Northwind database. a) Find all German suppliers. How many are there ? b) What products does Karkki Oy supply ? c) Which order has the biggest subtotal ? What is its order ID ? d) How many products are packed in cans, tins or jars ? e) How many different products are on order at the moment ? f) How many customers don´t have a fax number ? g) What field(s) is (are) common for the tables Customers and Orders ? h) How many products can belong to one product category ? HINT ! See the relationship window. 2. a) Search for the customer record of Romero y Tomillo (Form). What are the fields of this record ? b) Which customer record does contain the name ”Pipps” (or a part of it) ? Use Find command ! 3. Sort the products in an ascending order by the unit price (Table). What´s the highest unit price ? What´s the lowest one ? 4. Filter products by the quantity per unit. The filterred products should be packed in boxes. How many that kind of products are there ?

  2. 5. Open Order details table. Choose Design view. a) What is the data type of Quantity field and what are the other properties of this field ? b) What is the data type in Discount field and what are the other properties ? 6.Select Orders form. a) Find orders of Simons bistro by filtering. How many are there ? b)Sort all the orders by Order date in a descending sequence. What are the latest date and the first date ? 7.Select the querycalled Product Sales for 1997. a) Choose Design view. How criterium ”In Year 1997” is marked ? b) Which product gives most money ? 8. Select function Help. Search information about a topic ”Adding a New Chart in Report”. 9. Insert a new record a) in Customers table. KOTKU Kotkan kulinaria Pekka Kokkonen Owner Laivurinkatu 44 Kotka 48100 Finland 05-220 8374 05-220 8301 b) in Customers form. VIRHE Virolahden herkku Paula Pekkola Owner Vaalimaantie 93 Virolahti 49900 Finland 05-3544 201 05-3544 221 c) Update the street address of a customer in the Customers table (or form) .

More Related