Jump to content

MYSQL, is there a don't include?


dhope

Recommended Posts

Hi,

 

I am trying to create a table from information in my database but I dont want to include certain records. So far I have got:

 

SELECT * FROM areas GROUP BY county ORDER BY county_category

 

Is there way to say select all from areas but if county is equal to "xxxx", dont include this recored?

 

I'm sure there is an easy way of doing this but I can't seem to work it out, please can someone point me in the right direction.

 

I hope this makes sense :)

Link to comment
https://forums.phpfreaks.com/topic/224715-mysql-is-there-a-dont-include/
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.