I have student marks in a student table. I need second
highest mark .Then what will the query for this?
Answer Posted / poomanibe
with temptab as
(
select row_number() over(order by substring(marks,1,2)) as
rownum,* from Student
)
select * from temptab where rownum=1
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is 2nf in normalization?
what is hash nonclustered index
What is the purpose of the tempdb database?
Describe how to use the linked server?
Do you know the isolation level that sql server support?
How to create new tables with "select ... Into" statements in ms sql server?
What command must you use to include the not null constraint after a table has already been created?
which backup strategy you are following at ur company
State a few properties of relational databases?
Explain the use of containers in ssis?
How are the exceptions handled in sql server programming?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
Why is replication required on the sql server?
What are filegroups in sql server?
Which is the latest version of sql server and when it is released?