suresh


{ City } visakhapatnam
< Country > india
* Profession * software engineer
User No # 106003
Total Questions Posted # 0
Total Answers Posted # 3

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 10
Users Marked my Answers as Wrong # 0
Questions / { suresh }
Questions Answers Category Views Company eMail




Answers / { suresh }

Question { 4315 }

Fetch an entire row from the employees table for a specific
employee ID:


Answer

select * from employees where employee_id='1381';

Is This Answer Correct ?    4 Yes 0 No

Question { 5447 }

I am creating an index on Emp table Empno column,if u using
this indexed column in ur SELECT stmt. where clause,then how
do u know that yr index will be working or nor?
Thanks Advance...


Answer

You execute your query like
explain plan for select sal from emp where empno='1224';
after that check this below one.
select * from table(dbms_xplan.display);
here u can find it'll be excuted by using index or TABLE ACCESS FULL

Is This Answer Correct ?    4 Yes 0 No


Question { 6057 }

column A column b | output
10 7 | 10
5 8 | 8
7 -9 | 7
3 5 | 5
0 6 | 6

Write a sql query to print such output.


Answer

select A,B,greatest(A,B) output from

Is This Answer Correct ?    2 Yes 0 No