You are on page 1of 32

Exercise 1

Exercise 2
Exercise 3

Exercise 4
Exercise 5
Exercise 6
Exercise 7:
Exercise 8:

Exercise 9:
Exercise 10:

Exercise 11:
Exercise 12:
Exercise 13:
Exercise 14:
Exercise 15:
Exercise 16:
Exercise 17:
Exercise 18:
Exercise 19:
Exercise 20:
Exercise 21:
Solutions

Exercise 1

Exercise 2

Exercise 3
Double-entry check

Exercise 4
Exercise 5
Exercise 6
Exercise 7:

Exercise 8:

Exercise 9:
Exercise 10:

Exercise 11:

SQL Command:

SELECT PlanetName
FROM PLANETS
WHERE Larger = Yes AND YearLength > 365
ORDER BY PlanetName ASC;
Exercise 12:
Exercise 13:
Exercise 14:

Exercise 15:

SQL Command:

SELECT Type, Style, Colour


FROM FLOWER
WHERE Fragance = N;
Exercise 16:

Exercise 17:
Exercise 18:

Exercise 19:
Exercise 20:
Exercise 21:
SQL Command:

SELECT TVID, ScreenSize, Price


FROM TVSTOCK
WHERE CurvedFlat = “CV“ AND HDD = YES
ORDER BY Price ASC;

You might also like