Suppose a student column has two columns, name and marks. How to get name and marks of top three students.
Answer Posted / 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 View All Answers
What is database testing and what we test in database testing?
Define join and name different type of joins?
What rdbms stands for and what are the important rdmbs that sql use?
Without using database checkpoints, how you test a sql query in qtp?
What is the way of writing testcases for database testing?
While testing stored procedures what are the steps does a tester takes?
What is difference between having clause and where clause?
What are indexes and mention different types of indexes?
How do you verify whether a database is updated when passing the data through front end?
How to verify the trigger is fired or not and can you invoke trigger on demand?
What are the steps to test data loading in database testing?
Mention different types of joins?
Does qtp support sql queries?
What is ddl and what are their commands?
What is the syntax to add record to a table?