Answer Posted / ansupriya
SELECT LENGTH(REPLACE(TRANSLATE('HELLO','HEO',' '),' ')) FROM DUAL
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is sql injection vulnerability?
List different type of expressions with the example.
What is integrity in sql?
What is t-sql? : Transact sql
what are the authentication modes in sql server? : Sql dba
what is the difference between ereg_replace() and eregi_replace()? : Sql dba
How can a function retun more than one value in oracle with proper example?
what are numeric data types? : Sql dba
how to show all tables with 'mysql'? : Sql dba
what is text? : Sql dba
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
What is on delete restrict?
Does inner join return duplicate rows?
Why cross join is used?
Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10