i need to know how i display department which has salary >
=5000 for the below table
Department
-----------
salary deptname
1000 a
3000 a
2000 b
3000 b
4000 c
5000 c
kindly send the query to thilakvinoth13@gmail.com
Answer Posted / vinothmca21
use this,
select dept from employee group by dept having sum(salary)>=
5000
regards,
Vinoth
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What is collation sensitivity?
How can we improve performance by using SQL Server profiler?
What is standby servers? Explain types of standby servers.
Explain what role entity and relationship play in an ER diagram.
Explain filtered indexes?
What is the difference between dataadapter and datareader?
How to add a new dsn with the odbc driver for sql server?
What are the different normalization forms?
can a table be moved to different filegroup? : Sql server administration
What is RMS migrations?
Can sql servers linked to other servers?
What is the optimization being performed in oracle and SQL Server?
Give main differences between "Truncate" and "Delete".
What is data compression? : sql server database administration
What is db stored procedure?