tags:

views:

122

answers:

3

How do I select all records that contain "LCS" within the title column in sql.

+1  A: 
SELECT * FROM TABLE WHERE TABLE.TITLE LIKE '%LCS%';

% is the wild card matcher.

Owen
A: 

Look into the LIKE clause

rjrapson
A: 

Are you looking for all the tables with a column name which contains the LCS in them? If yes the do this

select table_name 
from information_schema.columns 
where column_name like '%lcs%'
SQLMenace