Jump to content

[SOLVED] MySQL Order


perezf

Recommended Posts

I have this query that i want to have all my items list in this specified order where i have list_zip

How can i do this for some reason it is just showing everything just not in this order,

 

SELECT * FROM snm_listings WHERE `list_country`='US' AND ( `list_zip`='33331' || `list_zip`='33330' || `list_zip`='33326' || `list_zip`='33332' || `list_zip`='33028' || `list_zip`='33325' || `list_zip`='33327' || `list_zip`!=NULL)

 

Link to comment
https://forums.phpfreaks.com/topic/146314-solved-mysql-order/
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.