Give name of manager and salary of employee SUNIL.
SQL>select emp_company.salary,manager.mname
from emp_company,manager
where emp_company.ename = 'SUNIL'
and emp_company.ename = manager.ename;
List the employee living in city 'BOMBAY' and those having company located in city 'DELHI'
SQL>select ename from emp_company
where ename In
(select ename from employee where city='BOMBAY') and
cname In (select cname from company where city ='DELHI');
Subscribe to:
Post Comments (Atom)
How To Install LAMP on Ubuntu 12.04
L inux A pache M ySQL P HP Step One—Install Apache open terminal and type in these commands: s udo apt-ge...
-
The solution is used to copy archivelogs from RMAN catalog. Step 1: uncatalog the required archivelogs from RMAN prompt RMAN>CHANGE ARCHI...
-
Certification Path:- OCA SQL - 125$ - (1Z0-051) Admin1 - 195$ - (1Z0-052) ============================ OCP Admin2 - 195$ - ...
No comments:
Post a Comment