Note AcademyNote Academy

Computer Science · May / June 2021 · Paper 22 · Question 6

0478

As printed in the paper

The question as text

A database table, PLANT, is used to keep a record of plants sold by a nursery. The table has these fields: • NAME – name of plant • FLOWER – whether the plant flowers (True) or not (False) • POSITION – shade, partial shade or sun • SIZE – small, medium or large • PRICE – price in $ • NUMBERSOLD – how many sold A query-by-example grid has been completed to display only the price, name and number sold of small plants that do not flower. Field: NAME PRICE NUMBERSOLD SIZE FLOWER POSITION Table: PLANT Sort: Show: 3 3 3 riteria: = "shade" or: Identify the errors in the query-by-example grid. Rewrite the corrected query-by-example grid. Field: Table: Sort: Show: riteria: or: [5]

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme

Any three from:

TABLE row not completed
POSITION column not required // POSITION criteria not required
No criteria set in the size column
No criteria set in the flower column

Field:

SIZE

PRICE

FLOWER

NUMBERSOLD

NAME

Table:

PLANT

PLANT

PLANT

PLANT

PLANT

Sort:

Show:

Criteria:

="small"

False

or:

OR

Field:

SIZE

PRICE

FLOWER

NUMBERSOLD

NAME

POSITION Table:

PLANT

PLANT

PLANT

PLANT

PLANT

PLANT Sort:

Show:

Criteria:

="small"

= False

or:

One mark for correct rows Field, Table and Show

One mark for correct Criteria row

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.