Possible Duplicate:
Need to write a SQL query to fetch data from a Oracle database
I need to write a SQL query which can fetch a data from one table A.
Senario - Lets take table A has only two column C1 and C2. C1 has row_id's and C2 has vaues like "Site=google;site=gmail;yahoo"
Requirment - Need to write a query which can fetch all the row_id from column C1 of table A but the value should come for column C2 as "yahoo". Means if anything starts with "Site=" in any value of C2 column then it should not been shown in the data fetch.