Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I minus data from query?

this is my sample query

$sql = mysql_query("SELECT * FROM dataweb WHERE web LIKE 'google%'ORDER BY ASC LIMIT 8"); 

the above query is to find similar domains. but I want to remove all aka google results...which means the result return like google.com,google.br,google.de etc.

I want only restdomains which start from google..

like image 509
limo Avatar asked May 04 '26 04:05

limo


1 Answers

To do this, make it NOT LIKE instead

like image 193
Steve Avatar answered May 05 '26 17:05

Steve



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!