Skip to content
Advertisement

How to select a row who has a substring

I have and data like :

I want to get a score whose term includes ‘proud’. I searched but can’t find anything. As you know SELECT * FROM table_name WHERE term = 'proud' will return just term who has 'proud' certainly (will return 5 proud 0.68 only). I think the problem is so easy but My mind is freeze now.

Thanks for helping

Expected Output:

Advertisement

Answer

use like operator instead of =

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement