Question: Consider the following relation: Student ( StudentNum , serialnum, marks ) The query is to display student details who got second highest marks are: select

Consider the following relation:
Student (StudentNum, serialnum, marks)
The query is to display student details who got second highest marks are:
select * from student $1 where 2=(select count(s2.marks) from student s2 where s1.marks s2.marks);
select * from student s1 where select count(s2.marks) from student s2 where s1.marks s2s1
 Consider the following relation: Student (StudentNum, serialnum, marks) The query is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!