Display a roll having miminum marks in two subjects?
Answer Posted / pradip jain
Select * from marks where
(Math=(select min(Math)from
marks) and phy=(select min(phy) from marks))
OR
(Math=(select min(Math)from
marks) and chem=(select min(chem) from marks))
OR
(Phy=(select min(phy)from
marks) and chem=(select min(chem) from marks))
Sonia if it is 3 subject and will be combine with or clause
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we run Reporting Services with SQL Server express edition, which is a free version of SQL Server?
Types of Authentications in Sql Server? How user gets authenticated through windows authentication?
What is the federation in sql azure?
Explain what are the different index configurations a table can have?
How to check what was the last restore transaction LSN in Log shipping or Mirroring? when we don't have a Monitor or witness server.
How to create indexed view?
How do I find the sql server database version?
What is the openxml statement in sql server?
Explain partitioned view?
Why use “pivot” in sql server?
List the different types of joins?
Explain the properties of a relational table?
What do you need to connect php to sql server?
List the different index configurations possible for a table?
What is a join in sql? What are the types of joins?