SI Stud name Subject Marks Pass/Fail
1 Sham Maths 40 P
1 Sham Physics 50 P
1 Sham Bio 20 F
2 Ram Maths 40 P
2 Ram Physics 50 P
2 Ram Bio 60 P
For the above data , write the SQL query for the student who passed in all the subjects . For eg : I want the data of only Ram coz he passed all subjects .
Answer Posted / guest
Select Stud_name
From Student_Table
Where Pass_Fail = P
Group by SI
| Is This Answer Correct ? | 6 Yes | 19 No |
Post New Answer View All Answers
Explain dclgen.
If I have a view which is a join of two or more tables, can this view be updateable?
Define db2 and its databases?
What is dclgen (declaration generator)?
What is the use of reorg in db2?
what is the role of the cursor in db2?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
Which isolation level provides highest data integrity?
How can the duplicate values be eliminated from db2 select?
What is reorg and runstats in db2?
What is the use of db2?
When reorg is used?
What are host variables in db2?
Explain what are the various isolation levels possible?
What is meant by dclgen?