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 / ajit nayak

select ename,sal,(sal*12)
from emp
where (sal*12) > 30000;

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the the update statement in sql?

677


Does group by remove duplicates?

660


What is the difference between local and global temporary table?

650


Why should I use postgresql?

668


What is union and union all keyword in sql and what are their differences?

696






Why are sql stored procedures used?

714


What is a system versioned table?

626


What is nvl?

699


Why are cursors used?

681


Explain the steps needed to create the scheduled job?

653


What is meant by user defined function?

668


What are different types of statements supported by sql?

714


What operators deal with null?

707


How to take user input in pl sql?

812


what are the type of locks ? : Sql dba

633