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

How does sql store data?

481


What are the built in functions of sql?

553


What is bind reference and how can it be created?

571


How do I audit the sql sent to the server?

519


How can I get the number of records affected by a stored procedure?

566






What is rank function in sql?

524


Explain the structure of pl/sql in brief.

613


What are properties of the transaction?

552


What is pragma in sql?

613


What is the difference between explicit and implicit cursors in oracle?

505


What is informix sql?

533


Can we use pl sql in mysql?

511


Is sql sequential or random?

531


What is cte?

568


Mention what is the plv (pl/vision) package offers?

634