You have one employee table having 3 entries emp_id, Mgr_id and salary. Mgr_id is also referencing emp_id. so now find out the emp_id which are having the second highest salary, under a particular manager.
3 8868I'm doing my final year and i ve planned to do an oracle certification , is this the rit tim nd wat's the future scope??
1 3520how can get like this result table A col1 col2 --- ----- a A b B C C .. .. .. ... .. ... wants result like for a single column col1 ------ a,b,c,........n of data and another is col1 ------- A B C D ........ a b b d ........
TCS,
2 5148you are sorting a table using "order by"(descending) clause of a column which contains a null value...whether that row containing null value will come first or last in the output??
2 5949what's query optimization and without use of IN AND Exist can we get another way data from query
2200What is tablespace in oracle? how can we create? how is it manage? . . . Thnx 2 All in Advnc....:)
3 5383write a sql query following source looking like below column1 column2 101,102,103 abc,def,ghi 1001,1002,1003 a,b,c i want the output column1 column1 101 abc 102 def 103 ghi 1001 a 1002 b 1003 c
KPIT,
1 4597write sql query following source are EmpID, Salary 101 1000 102 2000 103 3000 I want the output format like following empid,sal,composite_sal 101 1000 1000 102 2000 3000 103 3000 6000
TCS,
4 7279Display the order number and the number of months since the order was shipped for all orders that have been shipped in the last year (365 days). (Hint: Unshipped orders will have a null value).
1 4035Post New Oracle General Questions
What are the numeric comparison operations?
What is oracle database 10g express edition?
What do you mean by cdb and pdb in oracle 12c?
How to execute the package in oracle?
Can we use oracle pl/sql block in core java? if so how? pls get back to me .....
Explain what are the different type of segments?
How do I manually create a database in oracle?
Explain oracle left join with an example?
How to use subqueries with the exists operator in oracle?
What is raw datatype?
How can you merge two tables in oracle?
How to open and close an explicit cursor in oracle?
What are a cluster and non-cluster index?
What do you mean by a deadlock?
How to run queries on external tables?