| Other SQL PLSQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What are the default Oracle triggers?? | CGI | 1 |
| how can i create a user defined datatype | | 2 |
| what is the need of the cursor attribute notfound..(because
using found attribute we can complete the task......found +
negation operator = not found ) | Tech-Mahindra | 1 |
| Wat is SGA ? | ABB | 1 |
| what is the difernece between named and anonymous pl/sql
blocks?? | TCS | 8 |
| difference between pl/sql table and normal pl/sql table | | 2 |
| What is an Integrity Constraint? | | 4 |
| what is difference between "Primary key" and "Unique key"? | PreVator | 4 |
| what is the difference between trigger and storedprocedures | Tech-Mahindra | 10 |
| How to trace the errors in pl/sql block code? | | 2 |
| can use the following like overloading concept in a single
package:
procedure p1(a varchar),
procedure p1(a varchar2),
procedure p1(a char) | | 5 |
| What is difference between TRUNCATE & DELETE? | TCS | 12 |
| How can i insert data inro a table with 3 columns using
FORALL? | Oracle | 2 |
| Types of cursor locks and explanation each of them ? | DELL | 2 |
| Hi,
Can anybody please explain me the flow of the below query.
I am not able to understand how this query works.
This query is for finding the Nth highest salary..
SELECT DISTINCT (a.sal)
FROM EMP A
WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B
WHERE a.sal<=b.sal);
If N = 2 then second highest salary will be the o/p.
If N = 3 then third highest salary will be the o/p.
and so on..
Thanks,
Nitin | Ness-Technologies | 4 |
| I need a exceptoin in pl/sql block so that if any errors
occur in the block then no exception should errors should
raise? | | 1 |
| suppose we have a table in which 200 rows. i want to find
101 row ? what the query....
and how we find 4th and 5th highest salary and 1 to 10
highest salary | | 3 |
| how to retrive only second row from table? | IBM | 15 |
| SELECT flavor, SUM (ice_cream_sales) FROM sales_detail
GROUP BY flavor ORDER BY 2 DESC
If the "sales_detail" table contains ten records with
different values in the flavor column (two "vanilla,"
three "chocolate," four "strawberry," and one NULL), how
many rows are returned by the sample code above?
1. 0 rows
2. 1 row
3. 3 rows
4. 4 rows
5. 10 rows
| Sonata | 7 |
| How pl/sql source code can be protected? | | 2 |
| |
| For more SQL PLSQL Interview Questions Click Here |