Does oracle roll back the transaction on an error?
What is number function in sql?
What normalization means?
What are packages in pl sql and also explain its advantages?
How do you get column names only for a table (sql server)?
What is bind variable in pl sql?
What are the default Oracle triggers??
What is sqlservr exe?
How many tables can you join in sql?
Can pl sql procedure have a return statement?
In a table i have columns A,B,C and i have a composite index on columns A,B if so will the following query uses index or not? SELECT sal,name FROM <table_name> WHERE A=<value> AND B=<value> AND C=<value>;
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;
how to retrieve the top 3 salaries of the table using rownum