Recent questions tagged sql

1 votes
1 answer
333
2 votes
2 answers
335
The Given Answer is C) , my doubt is can PassportNo take NULL values as it is defined as UNIQUE ?
0 votes
0 answers
337
6 votes
0 answers
338
Plz explain both queries!
1 votes
0 answers
339
1 votes
1 answer
341
0 votes
1 answer
343
2 votes
1 answer
346
1. Can WHERE clause be used with aggregate functions ?2. DISTINCT operates on a single column. DISTINCT for multiple columns is not supported. [T/F]
3 votes
2 answers
347
select studentid, studentname from student where birthyear <=ALL( select birthyear from student);Returns detail of the youngest studentReturns detail of oldest studentSho...
3 votes
1 answer
348
1 votes
2 answers
349
1 votes
1 answer
350
5 votes
3 answers
352
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 lea...
10 votes
3 answers
353
Describe the relational algebraic expression giving the relation returned by the following SQL query.Select SNAME from S Where SNOin (select SNO from SP where PNOin (sele...
2 votes
2 answers
355
Student (Sid,gender,marks,branch)Query: Retrieve Sid's who scored the highest mark?SELECT SID FROM Student EXCEPT SELECT T1.Sid FROM Student T1,Student T2 WHERE T1.marks ...
0 votes
0 answers
356
Can Anyone Explain how Query 28 works with example.
3 votes
1 answer
359