Suppose a student column has two columns, name and marks. How to get name and marks of top three students.



Suppose a student column has two columns, name and marks. How to get name and marks of top three stu..

Answer / krishna

SELECT Name, Marks FROM Student s1 where 3 <= (SELECT COUNT(*) FROM Students s2 WHERE s1.marks = s2.marks)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Database Testing Interview Questions

Mention different types of joins?

0 Answers  


What is data driven test?

0 Answers  


Explain what is data driven test?

0 Answers  


How to test data loading in data base testing?

0 Answers  


In the database testing process, what do we usually check?

0 Answers  






How to test a dts package created for data insert update and delete? What should be considered in the above case while testing it? What conditions are to be checked if the data is inserted, updated or deleted using a text files?

0 Answers  


What do we usually check in database testing?

0 Answers  


What is the database trigger, how to verify the trigger is fired or not and can you invoke trigger on demand?

0 Answers  


What are indexes and mention different types of indexes?

0 Answers  


How would you know for database testing, whether trigger is fired or not?

0 Answers  


How do you test whether a database in updated when information is entered in the front end?

0 Answers  


You don’t have much time or only one day time, you have to execute 100 test cases, how you will execute

0 Answers  


Categories