A recreation centre tests two alternative filters on its membership table. Apply each rule independently to every member, and enter keep or omit in each answer cell.
Member
Age (years)
Fee paid
A1
17
Yes
A2
21
No
A3
18
A4
16
Unlock full course notes by signing up
Keys in an enrolment linking table
A college stores its records in three tables:
STUDENT(StudentID, Name, Program)
COURSE(CourseCode, Title, Credits)
Predicting the result of an inner join
A distributor stores its sales representatives and their sales in two tables.
SALESREP
SALE
Planning a three-table query for a marketing list
A fitness chain records its data in three tables:
MEMBER(MemberID, Name, HomeClubID, JoinDate)
CLUB(ClubID, City)
Following successive inventory changes
A stationery shop performs two operations on the inventory table below. Each operation completes before the next begins, and no other changes occur.
UPDATE: Increase Units by 3 for every row whose Category is Pen AND whose Status is Active.
DELETE: Remove every row whose Status is Clearance OR whose Units value is 0.