how to get the third quarter of employee details from emp?
Answers were Sorted based on User's Feedback
Answer / eshwer
select * from emp where TO_CHAR(hiredate,'Q')=3;
'Q' Regrives the all the 4 quarters(1,2,3,4) details on
that we retrive the 3 quarter details
Please check it
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rupesh kumar
select * from emp where rownum<=(select round((count(*)/4)
*3) from emp)
minus
select * from emp where rownum<=(select round((count(*)/4)
*2) from emp)
Is This Answer Correct ? | 5 Yes | 4 No |
What are the syntax and use of the coalesce function?
what is data manipulation language? : Sql dba
Query for second maximum salary in each in each department
15 Answers DST Global Solutions, TCS,
what is 'mysqladmin' in mysql? : Sql dba
i have a table like this. cityno cityname mails 1 BANGALORE 8KM 2 HSR LAYOUT 20KM 3 MEJISTIC 30KM 4 JAYADEVA 55KM 5 ITPL 80KM 6 HEBBAL 115KM I HAVE DATA LIKE THIS I WANT O/P LIKE THIS DISTANCE NO.OFCITY 0-50KM 3 51-100KM 2 101-150KM 4 AND SO ON pls give me answer. i want urgent
What are character functions in sql?
how can i create a user defined datatype
while loading data into database how can u skip header and footer records in sql*loader
How to use transactions efficiently : transact sql
What are sql procedures?
Explain what is a subquery ?
what are the differences among rownum, rank and dense_rank? : Sql dba