Question: Consider the SQL query whose answer is shown in Figure 3.2. Sid Name Login Age Gpa 53831 Madayan

Consider the SQL query whose answer is shown in Figure 3.2.
Sid 
Name 
Login 
Age 
Gpa 
53831 
Madayan 
madayan@ 
11 
1.8 
53832 
Gulda 
guldu@music 
12 
2.0 
Students with age < 18 on Instance S
1. Modify this query so that only the login column is included in the answer.
2. If the clause WHERE S.gpa > = 2 is added to the original query, what is the set of tuples in the answer?

Step by Step Solution

3.51 Rating (188 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The answers are as follows 1 Onl... View full answer

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

Document Format (1 attachment)

Word file Icon

960-C-S-D (2428).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!