Jump to content

sql help please!


tallberg

Recommended Posts

Can some one please describe to me the difference between these 2 queries. The first one produces 9,658 rows and second on 314 rows. I don't know what the difference is.

SELECT *
FROM `plantsdb`
WHERE Colour_Foliage LIKE '%blue%'
OR Colour_Foliage LIKE '%green%'

SELECT *
FROM `plantsdb`
WHERE Colour_Foliage LIKE '%blue%'
OR '%green%'
Link to comment
https://forums.phpfreaks.com/topic/24562-sql-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.