TOPIC : QUERY (COMPLEX )<br />1. A database has been set up by a car dealer to maintain information on cars currently avai...
 Exercise : Complex Query
Upcoming SlideShare
Loading in …5
×

Exercise : Complex Query

465 views

Published on

Published in: Education, Business, Automotive
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
465
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Exercise : Complex Query

  1. 1. TOPIC : QUERY (COMPLEX )<br />1. A database has been set up by a car dealer to maintain information on cars currently available for sale. A section of the database is shown below. <br />a) If the following query was input <br />(Top Speed (kph) > 250) OR (Doors = 2)<br />using Ref No only, which items would be output? <br />b) Write down a query which outputs cars which cost more than $60 000 and have a 0-100 kph time (sec) of less than 7 <br />2. A shop keeps its stock file on a computer system. Part of the file is shown in the diagram below: <br />The following codes have been used. <br />B = Black G = Green R = Red S = Silver <br />a) Which STOCK NO data will be listed if the following search condition is input? <br />(COLOURNOT “B”) AND (WEIGHT (KG)< 2.0)<br />b) Write down a search condition that will search for all the items with less than 16 in stock <br />and the price is more than $100 <br />

×