Search Header Logo
Year 11 SQL (Tasting lesson)

Year 11 SQL (Tasting lesson)

Assessment

Presentation

Computers

10th Grade

Practice Problem

Medium

Created by

Kenneth Tai

Used 1+ times

FREE Resource

19 Slides • 11 Questions

1

media

2

media

3

media

4

media

5

media

6

media

7

media

8

media

9

media

10

media

11

Multiple Choice

Which of the following is the correct SQL to output name, year and house of students from the table "Students"

1

Output name, year, house from table

2

Output name, year, house from Students

3

Select name, year, house from Students

4

Select name, year, house from table

12

Multiple Choice

Which of the following is the correct SQL to output all fields from table Students?

1

Select all from Students

2

Select * from Students

3

Select fields from Students

4

Select * fields from Students

13

media

14

Multiple Choice

Which of the following is the correct SQL to output all fields of students from house 4?

1

Select * from Students where house=4

2

Select * from Students when house=4

3

Select * from Students if house=4

4

Select * from Students while house=4

15

Multiple Choice

Which of the following is the correct SQL to output the names of year 11 students from house 1

1

Select name from Students where year=11

2

Select name from Students where house=1

3

Select name from Students where year=11 and house=1

4

Select name from Students where year=11 or house=1

16

Multiple Choice

Which of the following is the correct SQL to output the names of students with name starting with "S"

1

Select name from Students where name like 'S*'

2

Select name from Students where name[0]='S'

3

Select name from Students where name='S'

4

Select name from Students where name='S*'

17

media

18

media

19

media

20

media

21

media

22

Multiple Choice

Which of the followings is the correct SQL to output the names of students and their computer marks?

1
2
3
4

23

media

24

Multiple Choice

Which of the following is the correct SQL to output the names of students and their computer marks in ascending order of computer marks?

1
2
3
4

25

Multiple Choice

Question image

What is the possible problem if the table is defined as in the figure?

1

Marks without input will be zero

2

Some storage spaces are wasted

3

Students must study in all listed subjects

4

Total mark for each student will be wrong

26

media

27

Multiple Choice

Question image

How many fields are there in the table "Marks"?

1

2

2

3

3

23

4

24

28

media

29

Multiple Choice

Which of the following should be filled in the SQL to output the students' names and their marks of Computer from the table "Students" and "Marks"?

SELECT Students.Name, Marks.Marks

FROM Students, Marks

WHERE _______________________________

1
2
3
4

30

Multiple Choice

Which of the following should be filled in the SQL to output the students’ names and their Media marks from the ‘Students’ and ‘Marks’ tables, in descending order of their names?

SELECT Students.Name, Marks.Marks

FROM Students, Marks

WHERE _______________________________

1
2
3
4
media

Show answer

Auto Play

Slide 1 / 30

SLIDE