Find all employees in Dept “Marketing”.

Answer Posted / guneetinder singh

select ename from emp where deptname = 'Marketing'

ename = employee name.
deptname= department name

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I recompile a procedure in oracle?

527


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

1506


How to create a new tablespace in oracle?

560


What is an oracle and why it is used?

624


What is Trigger in Oracle?

575






What is the difference between PFILE and SPFILE in Oracle?

580


What are the different editions of oracle?

592


How would you change old and new values in an insert, delete and update triggers?

545


Explain the function of optimizer in oracle?

599


Where do you use decode and case statements?

556


What is the difference between substr and instr?

521


What is an oracle user account?

582


Can we connect to ORACLE db using Windows Authentication?

722


What is a select query statement in oracle?

545


How can we create the complete backup of data in the oracle.

1685