3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all
Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);

Answer Posted / sudarshanbehera07@gmail.com

Ans: sum_1 max_1 count_1
2014 2011 3

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you go back in sql?

529


What is the difference between truncate and drop statements?

573


What is the best free sql database?

564


What is primary and foreign key?

591


What is dbo in sql?

533






What is string join?

550


What is trigger in pl sql with examples?

519


What is coalesce sql?

509


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

532


How to disable a trigger name update_salary?

672


Why do we go for stored procedures?

509


which tcp/ip port does sql server run on? : Sql dba

515


How do I view a view in sql?

504


What is update query?

547


What is the use of index in hive?

548