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

How do you bind variables in pl sql?

580


What is cursor and why it is required?

557


Why is sql*loader direct path so fast?

599


Explain some predefined exceptions.

588


How long it takes to learn pl sql?

533






Mention what problem one might face while writing log information to a data-base table in pl/sql?

676


Are stored procedures faster than dynamic sql?

535


Is it possible to sort a column using a column alias?

606


What is inner join in sql?

586


What is the purpose of a sql?

529


what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba

507


What company owns postgresql?

560


What are sql functions? Describe in brief different types of sql functions?

487


Does oracle use sql?

516


What is the difference between unique and primary key constraints?

588