PHV - thanks - that looks good - I just tried this and it seemed to work:
ORDER BY CASE WHEN prop_firmID = 32 THEN prop_firmID ELSE prop_price END
I might try yours too.
Thanks again!!
I'm trying to sort a SQL query while prioritizing one specific dataset - e.g.:
table: tbl_properties
field: prop_firmID
I want to list those properties where prop_firmID=32
and second, by price (which I got covered)
In other words - If I sort by prop_firmID - it will list properties...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.