SlideShare a Scribd company logo
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 />
 Exercise : Complex Query

More Related Content

PPTX
Learn CAL QUAN
PPTX
Database assignment
PDF
4 ce6a quantity surveying &amp; valuation
DOC
Functional spcification doc for vendor debit memo report
PPTX
Logic gates with laws
TXT
Plotter
PDF
DSD-INT 2018 The new 3D Subsurface tool - Vermeulen
PPT
Learn CAL QUAN
Database assignment
4 ce6a quantity surveying &amp; valuation
Functional spcification doc for vendor debit memo report
Logic gates with laws
Plotter
DSD-INT 2018 The new 3D Subsurface tool - Vermeulen

Viewers also liked (8)

DOC
Logo abstract
DOCX
Practical 4
PDF
Year 2007
DOCX
Exercise 2
DOCX
Exercise 1
PPTX
Revision week 2
DOCX
Practical 5
PDF
Year 2008
Logo abstract
Practical 4
Year 2007
Exercise 2
Exercise 1
Revision week 2
Practical 5
Year 2008
Ad

More from fizahPhd (20)

PPTX
Revision week 2
PPTX
Revision week
DOC
Sketchup tutorial 1
DOCX
Practical 3
DOCX
Query
PPTX
Query
PPTX
Forms and design
DOCX
Forms and report
PPTX
Validation rule, text and input masks
PDF
Year 2008
PDF
Question 2009
DOCX
Validation rule, validation text and input masks
DOC
Question of Geometry
DOC
ICT Maths
DOC
Rotation
DOC
Concept map-3
DOC
Concept map of microorganism
DOC
Electricity circuit
DOCX
Lesson plan storage devices(latest)
DOC
Computer studies year 7 exercise (medium)
Revision week 2
Revision week
Sketchup tutorial 1
Practical 3
Query
Query
Forms and design
Forms and report
Validation rule, text and input masks
Year 2008
Question 2009
Validation rule, validation text and input masks
Question of Geometry
ICT Maths
Rotation
Concept map-3
Concept map of microorganism
Electricity circuit
Lesson plan storage devices(latest)
Computer studies year 7 exercise (medium)
Ad

Recently uploaded (20)

PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Introduction to Building Materials
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PPTX
Lesson notes of climatology university.
PDF
RMMM.pdf make it easy to upload and study
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
advance database management system book.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Complications of Minimal Access Surgery at WLH
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
What if we spent less time fighting change, and more time building what’s rig...
Introduction to Building Materials
Unit 4 Skeletal System.ppt.pptxopresentatiom
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Lesson notes of climatology university.
RMMM.pdf make it easy to upload and study
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Chinmaya Tiranga quiz Grand Finale.pdf
Indian roads congress 037 - 2012 Flexible pavement
advance database management system book.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Final Presentation General Medicine 03-08-2024.pptx
Cell Types and Its function , kingdom of life
LDMMIA Reiki Yoga Finals Review Spring Summer
Complications of Minimal Access Surgery at WLH
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf

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 />