Display a roll having miminum marks in two subjects?

Answer Posted / ivee

Suppose we are having a table called abc which has field
name as marks, subject and roll
now roll2 and roll3 has the same minimum marks as 40
so the query will be

select roll from abc where marks=(select min(marks) from
abc)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Benefits of Stored Procedures?

650


What is the bookmark lookup and rid lookup?

659


Explain the types of indexes.

728


What is a matrix in ssrs?

105


Explain system views?

694






What are the different types of replication are there in sql server 2000?

658


What are different types of subquery?

820


How to connect to SQL Azure Database by using sqlcmd?

120


What is the difference between deallocate cursor and close cursor?

827


What are trace files?

616


If a stored procedure is taking a table data type, how it looks?

5964


if no size is defined while creating the database, what size will the database have? : Sql server administration

650


Tell me the difference between clustered and non-clustered index?

601


Can you explain about buffer cash and log cache in sql server?

588


Explain the flow of creating a cube? : sql server analysis services, ssas

712