5 votes 5 votes Select SNAME from S Where SNOin (select SNO from SP where PNOin (select PNO from P Where COLOUR='BLUE')) What relations are being used in the above SQL query? Given at least two attributes of each of these relations. Databases gate1988 normal descriptive databases sql + – go_editor asked Dec 20, 2016 • recategorized Apr 16, 2021 by Lakshman Bhaiya go_editor 1.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 11 votes 11 votes There are $3$ relations here: S(SNAME, SNO) SP(SNO, PNO) P(PNO, COLOUR) akash.dinkar12 answered Oct 28, 2017 • edited Apr 16, 2021 by Lakshman Bhaiya akash.dinkar12 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes relation S(sname , sno) and relation P(pno,colour) balagangadhar12 answered Dec 22, 2016 balagangadhar12 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes S(SNAME , SNO) SP(SNO , PNO) P(PNO, COLOR) SP is relation between S and P where sno and pno together being an primary key Amoljadhav answered Sep 23, 2023 Amoljadhav comment Share Follow See all 0 reply Please log in or register to add a comment.