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
What is the maximum size of a char data type in db2?
What is dpf in db2?
How can record locking be achieved in those DB2 versions which do not support it?
what are bind concepts in db2 cobol?
Before you give the explain statement, what are the prerogatives?
Explain the function done by data manager?
What is cascading rollback?
How can we read records for specific member in CL? AND rpg?
Can we insert update delete in view?
What are the prerogatives?
What is concurrency?
Explain what are the various isolation levels possible?
What is a dbrm in db2?
What is db2 purescale?
What is an instance in db2?