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 is the command line end user interface - mysql? : Sql dba
What is pl sql in oracle?
What is pls integer?
How to return more than one value from a function?
wa procedure to return the month and the no'f developers joined in each month.
How do you clear the screen in sql?
How do you identify a primary key?
Is natural join and inner join same?
What is the purpose of the sql select top clause?
Why do we use sql constraints? Which constraints we can use while creating database in sql?
What is a variable in sql?
What is before trigger?
Oracle (3253)
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)