how to get required data from oracle
source is like this
ram_05_seetha
lax_05_viswa
bamr05frummy
run_01_away
sw_sas_trim

i want my target data like
ram_05_seetha
lax_05_viswa

to get data using %_05_%
but it will give
ram_05_seetha
lax_05_viswa
bamr05frummy

how can i get my target data?

Answer Posted / mukesh

select source_field from


(select rownum rn,source_field from source_data
) where rn In(1,2)

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the uses of Database Trigger ?

1101


How to create a new table by selecting rows from another table?

553


What is clustered table in Oracle?

643


How do I spool in oracle?

541


how can we store any pdf file in oracle

1642






How to convert csv to table in oracle?

528


What is SQL access advisor in Oracle?

632


State the various uses of dbcc command?

548


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

590


What is translate in oracle?

621


How to convert characters to dates in oracle?

559


What is oracle sid?

509


How do I manually uninstall oracle client?

518


Explain oracle insert into command?

630


What is raw datatype?

593