select name of emplyoee whose total salary is 130 from
following table.
id name salary
1 a 100
2 b 20
3 c 50
1 a 30
2 b 70
Post the resulantant Query?

Answer Posted / anonymous

select name as Sal
from emplyoee
group by id
having sum(salary)=130

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is 5nf in normalization form?

729


How to create a user name in a database?

771


Explain how dts is used to extract, transform and consolidate data?

764


How can I know what locks are running on which resource?

705


What were the latest updates to SQL Azure service?

102






What are the new features of sql server 2008 r2 reporting service?

124


How to edit table in sql server 2017?

676


What happens if time-only values are provided as date and time literals?

721


What are the approximate numeric data types?

706


What is Dependency Injection and provide example?

812


how to overcome kernel isssues

1351


What is acid mean in sql server?

737


what is a schema in sql server 2005? : Sql server database administration

692


What is 'write-ahead log' in sql server 2000 ?

794


Write a sql query to delete duplicate records from a table called table1

776