I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / b.bathakaraithangam,giri
select * from student where mark=(select max(mark) from
student where mark not in (select max(mark) from student))
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can two tables have the same primary key?
What command is used to rename the database?
What are the diifferences between the ms sql server vs mysql?
Tell me about pre-defined functions of sql?
What is etl - extraction, transformation, and loading?
What are four major operators that can be used to combine conditions on a where clause?
Do you know what is replace and stuff function in sql server?
What languages bi uses to achieve the goal?
How to connect a database with sql express.?
Describe different Processing Modes offered by SSRS?
Explain about system stored procedure?
Define left outer join in sql server joins?
1 01 101 01010
Why truncate is ddl?
Explain the steps to create and execute a user-defined function in the sql server?