| Other SQL PLSQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is ROWID? | | 6 |
| How can we overcome recursive triggers in SQL? | iFlex | 1 |
| SELECT emp_num, years, SUM(salary) FROM sales
UNION ALL
SELECT emp_id, SUM(takehomepay)
FROM marketing
What error is present in the sample code above?
1. Queries being combined with the UNION ALL statement are
not allowed to have SELECT lists with a different number of
expressions.
2. You are not allowed to use aggregate functions within
two queries joined by a UNION ALL statement.
3. The UNION ALL statement incorrectly combines
the "years" result from the first query with the "SUM
(takehomepay)" result from the second query.
4. Unless the UNION ALL statement is replaced with a UNION
statement, the queries will return duplicates.
5. The "emp_id" column from the second query must be
renamed (or aliased) as "emp_num" so that it corresponds to
the column name from the first query. Otherwise, the
queries will not execute. | | 3 |
| What is an Integrity Constraint? | | 4 |
| how instead of triger is helpful for mutating tables errors
handlling ? | Oracle | 2 |
| State the difference between implict and explict cursor's? | | 6 |
| What are the new features in Oracle 10g. Compared to Oracle
9i? | Polaris | 1 |
| Which one of the following join types will always create a
Cartesian Product?
1. CROSS JOIN
2. LEFT OUTER JOIN
3. RIGHT OUTER JOIN
4. FULL OUTER JOIN
5. INNER JOIN | | 2 |
| Can we use SQL%ISOPEN in implicit cursors? Does this
attribute works properly in Implicit Curosors? | | 2 |
| how to get the third quarter of employee details from emp? | CompuTech | 1 |
| Where the integrity constrints are stored in Data
Dictionary? | | 1 |
| What are the return values of functions SQLCODE and SQLERRM ? | PreVator | 2 |
| What are the modes of parameters that can be passed to a
procedure ? | | 2 |
| Wat is SGA ? | ABB | 1 |
| What is RAC in oracle? | | 3 |
| write a query to delete similar records in different tables
with same structure | | 4 |
| What is difference between triggers and stored procedures.
And advantages of SP over triggers ? | TCS | 2 |
| Explain UNION,MINUS,UNION ALL, INTERSECT? | | 1 |
| how can we find the select statement is indexed or not? | CTS | 2 |
| write a query to display diference between two dates in sql
server | | 2 |
| |
| For more SQL PLSQL Interview Questions Click Here |