Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Exercise : Complex Query
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 />