4. Select sum(A.salary) +sum(B.salary) as TOT_SAL from ( select LEVEL emp_id,level*100 salary,case when mod (level,2)=0then 2 else null end dept_id from dual connect by level<6 )A right outer join (select level emp_id ,level*200 salary ,case when mod (level,3)=0 then 2 else null end dept_id from dual connect by level<6)B
On A.dept_id=B.dept_id
And A.emp_id=B.emp-id;
What are the types of index in sql?
what is indexing, searching and user interface?
How does an execution block start and end in pl sql?
Where not exists in sql?
Which is faster joins or subqueries?
What does count (*) mean?
..........refers to the disk mirroring
Which operator is used in query for pattern matching?
What is procedure explain with program?
Explain what is a subquery ?
What are the different dml commands in sql?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)