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 use of dclgen in db2?
How do I start db2 in windows?
What is the max length of sqlca?
Mention some fields that are a part of sqlca.
What is db2 purescale?
List down the types of triggers in the db2 database?
Is db2 a mainframe database?
How is the value function used?
What is the default page size of buffer pools?
List down the data types in the db2 database.
Explain the function of data manager.
When the like statement is used?
What is the picture clause of null indicator variable?
How and when does the db2 enforces the unique key?
Define declaration generator (dclgen).