What is the most efficient and elegant SQL query looking for a string containing the words "David", "Moses" and "Robi". Assume the table is named T and the column C.
Select * from table where columnname like'%David%' and columnname like '%Moses%' and columnname like'%Robi%'
2.1m questions
2.1m answers
60 comments
57.0k users