Question { 7872 }
What is the system function to get the current user's user
id?
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 8557 }
how to find the second highest salary in a given table????
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
i have a table
eno dno sal
1 10 200
2 10 150
3 10 100
4 20 75
5 20 100
i want to get sal which is less than the avg sal of thri dept.
eno dno sal
2 10 150
3 10 100
4 20 75
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { Keane India Ltd, 9734 }
suppose we have values like 1 5 7 in a colum.Now we want
numbers like(2 3 4 6) that exists between 1 5 7.How can we
do this using sql query??
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 9321 }
how to Update table Sales_summary with max(sales) data from
table sales_dataTable 1. sales_data table Table 2.
Sales_summary
Region sales Region sales
N 500 N 0
N 800 W 0
N 600
W 899
W 458
W 900
I want the Sales_summary After Update like this
Region Sales
N 800
W 900
Answer
| Is This Answer Correct ? | 2 Yes | 0 No |
Question { 18222 }
How do you retrieve the last N records from a table?
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
wirte a query to remove null? following table are
col1 col2 col3
dinesh null null
null suresh null
null null prakesh
i want the output like
col1 col2 col3
dinesh suresh prkaesh
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 5657 }
how to get count of tables in particular database in Oracle?
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 4507 }
the user should know to which database he is connected
currently in oracle
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 5530 }
how to find the first two highest salaries in deptno in emp
table
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
write a pl/sql function if enter a value=0 then output
value=1 and vise verse with out using if and case statements.
Answer
| Is This Answer Correct ? | 1 Yes | 0 No |
Question { 8587 }
how to retrieve 1st and last row of table without using
group functions??
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 15026 }
How to update salary of employees department wise?
Answer
| Is This Answer Correct ? | 7 Yes | 0 No |
Question { 6432 }
I have a table emp. There is only one column in the table.
In that , there are only three rows in that column.
The value in the first row is 'A' and the value in the
second row is 'B' and the third row is 'C'. Now, my question
is ,
How will you write a select query to display the output as
B
C
A
Note: order by cannot be used coz it gives us output as CBA.
But the output should be BCA.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |