| Other SQL PLSQL Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is Hash join?how it is different from inner join?what
is the sign used for inner join?(eg: like the (+) sign used
for outer join)? | TCS | 1 |
| hi this is nakka i have been looking for 1+ exp in oracle
sql,plsql developer positions also have knoledge on d2k
i am not getting proper walkins how to know it? where can
i find it? | | 1 |
| How to recompile a already made trigger? | | 2 |
| why sql is used as interpreter frequently rather than a
compile? | | 1 |
| how will u find statistics of a database objects?
| iFlex | 1 |
| what is the difference between the query and corelated
query | IBM | 6 |
| Differentiate between %type and %rowtype attribute in
Oracle PL/AQL programming ? | PreVator | 4 |
| 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 |
| State the difference between implict and explict cursor's? | | 6 |
| Given two tables Student(SID, Name, Course) and Level(SID,
level) write the SQL statement to get the name and SID of
the student who are taking course = 3 and at freshman level. | Oracle | 6 |
| What is the fastest way of accessing a row in a table? | TCS | 2 |
| What is a self join ? | BirlaSoft | 5 |
| How to retrieve Duplicate Rows only in a Table?
Suppose if a Table Name is "Education". It consists of
multiple columns. Then if we insert rows into this table
with duplicate records then how can we retrieve only
duplicate records from that table? | Wipro | 16 |
| SELECT category, type, AVG(price)
FROM products GROUP BY category, type ORDER BY 1, 2
If there are three distinct categories in the "products"
table, and each one has five different types, how many rows
are returned by the query above?
1. 1 row
2. 3 rows
3. 5 rows
4. 8 rows
5. 15 rows
| | 1 |
| hi
sql gurus, here is my question 4 u.
i wanna use triggers for sending reminder mail to all users
who are registered to the site. if any one knws the code plz
send me ans here : chayabs3@gmail.com
thnx advance
| | 1 |
| declare
v_count number(8,3);
v_sal scott.emp.sal%type := '&P_sal';
cursor cur_name is select sal from scott.emp where sal
between (v_sal-100) and (v_sal +1000);
begin
v_count :=nvl(sql%rowcount ,0);
if v_count = 0 then
dbms_output.put_line('no records are fetch in the given sal
range');
else
dbms_output.put_line('There is/are '||to_char(v_count)||
' salaries are selected in the given range ');
end if;
end;
in the above programm .....for any sal range ....always it
shows the following message..
no records are fetch in the given sal range
please find the mistake and share with me...with thansk and
regards..sarao....
| Satyam | 2 |
| Hello All, Could any well write a query for the following
scenario.
Account(table name)
No Name Amount
1 ABCD 2000.00
2 DEFG -2000.00
3 GHIJ 3000.50
4 JKLM 4000.00
5 MNOP 6000.00
O/p Should be in this format
No Name Credit Debit
1 ABCD 2000.00 0
2 DEFG 0 -2000.00
3 GHIJ 3000.50
4 JKLM 0 -4000.00
5 MNOP 6000.00 o
could any one give appropriate query for this
Thnks in Advance
Suneel Reddy | Target | 4 |
| What is the default value of CHAR type? | Bosch | 1 |
| What is the basic structure of PL/SQL ? | | 5 |
| what is meant by DML? | HCL | 5 |
| |
| For more SQL PLSQL Interview Questions Click Here |