Need to write a SQL query to fetch data from a Oracle database -


possible duplicate:
need write sql query fetch data oracle database

i need write sql query can fetch data 1 table a.

senario - lets take table has 2 column c1 , c2. c1 has row_id's , c2 has vaues "site=google;site=gmail;yahoo"

requirment - need write query can fetch row_id column c1 of table value should come column c2 "yahoo". means if starts "site=" in value of c2 column should not been shown in data fetch.

try

select    *    tablea     c2 not 'site=%' 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -