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

Do you know what is fill factor and pad index?

562


Difference between group by clause and having clause in SQL?

562


What is the architecture of ms sql reporting service?

521


Tell me something about security and sql azure?

100


What is forward - only cursors / read only cursor?

518






How we can refresh the view?

592


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

482


what are the reporting service components in SSRS?

118


List out the differences between global and local temp tables in sql server?

569


when you create a database how is it stored? : Sql server database administration

491


State a few properties of relational databases?

661


What are different types of schemas?

516


What is pessimistic concurrency?

538


What are rows and columns?

516


What is cached report?

106