Suppose I have a column lastName and I have the data as
kumar yadav kumar shah raghu. kumar
Now I want to write a SQL query that to get the values whose last name contains kumar.
Use the like operator
like
select * from tablename where lastname like '%kumar%'
1.4m articles
1.4m replys
5 comments
57.0k users