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

What is a pl/sql block?

595


Can variables be used in sql statements?

554


What is the syntax and use of the coalesce function?

599


How do I filter in sql profiler?

538


Explain what is dbms?

581






How many types of triggers exist in pl/sql?

567


What is scope of pl sql developer in future?

595


what are numeric data types? : Sql dba

580


What is native sql query?

552


What is pragma in sql?

622


Can we use pl sql in sql server?

541


What is data types in sql?

537


Explain what is a field in a database and record in a database?

611


Whis is not false in primary key?

977


what is the syntax used for partition in tsql? : Transact sql

540