Question: consider the following database for a summer camp: Camper ( cid , name ) Team ( gid , age ) Assignment ( cid , gid

consider the following database for a summer camp:
Camper(cid, name)
Team(gid, age)
Assignment(cid, gid)
table Assignment captures the assignments of campers to teams. Primary keys:
Camper- cid, Team-gid, Assignment-cid, gid
Is the query below correct for returning the name of all campers who have not yet been assigned to a team:
select C.nam
from Camper C, Assignment A
where C.cid<>A.cid

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!