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 / mahavir bansal

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

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can sql server 2016 run on windows 7?

500


Explain about remote stored procedure?

589


How do you delete duplicate rows in sql server?

505


What are the key configuration files for sql server reporting services ?

120


What are scheduled tasks in sql server?

540






What is the difference between indexing and hashing?

543


What is a group function explain with an example?

521


Explain syntax for viewing trigger?

539


What are translations and its use? : sql server analysis services, ssas

601


Do you know hot add cpu in sql server 2008?

536


What are the different SQL Server Versions you have worked on?

549


What are subqueries in sql server? Explain its properties.

540


What are trace flags and mention a few common trace flags used with sql server?

546


How to check table values in sql server?

530


Difference between DELETE and TRUNCATE?

613