Give SQL Query to find the number words in a sentence ?
ex: 'ram charan singh' then ans:3
Answers were Sorted based on User's Feedback
Answer / bhakti
select length(trim('ram charan singh')) - length (replace
(trim ( 'ram charan singh'),' ','')) +1 from dual
| Is This Answer Correct ? | 19 Yes | 3 No |
Answer / sanjaya
select regexp_count('RAM CHARAN SINGH','s')+1 from dual;
| Is This Answer Correct ? | 0 Yes | 0 No |
how can find the second max sal for every group(i.e i want group the data based on key and find the second max sal for every group
What are the uses of Rollback Segment ?
13. Display the second to fifth characters in each client name.
what are different types of deletes?
Explain parameter file in oracle.
what is the syntax of DELETE command?
what are the advantages of running a database in archive log mode?
How to find out what oracle odbc drivers are installed?
how to delete all duplicate records from a table using subquery?
Q) How to Find Max Date from each Group? (Asked in Infosys (INFI)Interview)
How to define a data source name (dsn) in odbc manager?
What is the difference between Outer join and Full outer join?