Uploaded by msaahilt24

Yr10 CS 23-24 T3 Practice Sheet 5

advertisement
WSS Secondary Home
Learning (HL)
Teacher:
Ms. Jayasree
Ms. Sofia
1.
WALT/ TOPIC:
Revision 4
Date : 27th May 2024
Subject : Computer Science
Year : 10
2.
(i)
Complete the structured query language (SQL) query to display only the price, name and
number sold of small plants that do not flower.
SELECT Name, .............................................., ..............................................
.............................................. PLANT
WHERE .......................................................................................;
(ii)
Write structured query language (SQL) query to return
(a) the names of all flowering plants.
...............................................................................................................................................
...............................................................................................................................................
...........................................................................................................................................[3]
(b) the total price of all medium sized plants.
...............................................................................................................................................
...............................................................................................................................................
...........................................................................................................................................[3]
(c) the number of large plants.
...............................................................................................................................................
...............................................................................................................................................
...........................................................................................................................................[3]
(d) all the details of the plants those need sunlight.
...............................................................................................................................................
...............................................................................................................................................
...........................................................................................................................................[3]
3.
Download