define a variable representing the expression used to
calculate on emps total annual remuneration.use the
variable in a statement which finds all emps who can earn
30000 a year or more.

Answer Posted / padmalatha

select Empno,Annual_Salary=sum(Month_Salary) from
Employee_Salary
group by Empno having sum(Month_Salary)>30000

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by rowid?

617


What is sql integrity?

658


What is int identity in sql?

664


What is an oracle stored procedure?

682


What is schema in sql?

600






what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql

597


How do I tune a sql query?

607


Why do we use procedures?

611


how can I make a script that can be bi-language (supports english, german)? : Sql dba

626


What is the use of partition by in sql?

614


what are integrity rules?

672


What are the basic sql commands?

639


what is the syntax for using sql_variant_property? : Transact sql

627


what is the difference between $message and $$message? : Sql dba

641


What is the order of sql select?

664