
Higher - Database query design
Presentation
•
Computers
•
10th Grade
•
Practice Problem
•
Easy
G Alexander-Doyle
Used 2+ times
FREE Resource
13 Slides • 8 Questions
1
2
I can create a design for a database query which includes the following:
Field names
Computed fields (with aliases)
Table(s)
Search criteria
Grouping
Sort order
Achievements
We are learning how to design database queries, specifically detailing fields, tables, search criteria, grouping and sort order.
Aims
3
4
5
6
Match
Match the query design rows with the SQL implementation.
Field(s) and calculations(s)
Table(s) and query
Search criteria
Grouping
Sort order
SELECT
FROM
WHERE
GROUP BY
ORDER BY
SELECT
FROM
WHERE
GROUP BY
ORDER BY
7
Multiple Choice
Which aggregate function should be used for finding the highest value in a column?
MAX
MIN
COUNT
SUM
AVERAGE
8
Multiple Choice
Which aggregate function should be used for totalling the values in a column?
MAX
MIN
COUNT
SUM
AVERAGE
9
Multiple Choice
Which aggregate function should be used for returning the number of records which meet the search criteria?
MAX
MIN
COUNT
SUM
AVERAGE
10
11
12
13
Multiple Select
Which of the following answers would be selected if the wildcard ‘McN%’ was used in the WHERE LIKE clause?
McNichol
McKenney
McNesbitt
McKenzie
Macneil
14
Multiple Select
Which of the following answers would be selected if the wildcard ‘_o%’ was included in the WHERE LIKE clause?
WHERE surname LIKE ‘_o_%’
Yo
Bolton
Nolan
Moore
Opgaard
15
Multiple Choice
When specifying a calculated field an alias should be detailed in
Round brackets ( )
Square brackets [ ]
Quotation marks " "
Apostrophes ' '
16
Open Ended
Which two fields has this table been sorted on and in which order?
17
18
19
20
21
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
17 questions
Biomolecules Lesson 1
Presentation
•
9th Grade
18 questions
Module A - An Unusual School
Presentation
•
10th Grade
15 questions
Program Browser
Presentation
•
10th Grade
21 questions
Dampak Sosial Informatika
Presentation
•
10th Grade
15 questions
EFL Non-Literary Text Analysis Review
Presentation
•
10th Grade
17 questions
Engineering Practices (Chemistry Summer Set #2)
Presentation
•
10th Grade
15 questions
Using Games in the Classroom
Presentation
•
10th Grade
17 questions
Mythology
Presentation
•
10th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade