hello,
I have listings with coordinates, i would like to do ORDER BY and
display listings with coords first. If they don't have coords the value
is blank and the coords go both positive and negative values. So i
tried an "ORDER by l_xcoord HAVING l_xcoord<>0" but this is acting like
a WHERE statement removing all results with no coords. I tried GROUP BY
as well but same results...
So the question is how can i display all results with the ones that
have coords first? It seems like it should be simple but I'm just not
seeing it.
Thanks,
Chad
I have listings with coordinates, i would like to do ORDER BY and
display listings with coords first. If they don't have coords the value
is blank and the coords go both positive and negative values. So i
tried an "ORDER by l_xcoord HAVING l_xcoord<>0" but this is acting like
a WHERE statement removing all results with no coords. I tried GROUP BY
as well but same results...
So the question is how can i display all results with the ones that
have coords first? It seems like it should be simple but I'm just not
seeing it.
Thanks,
Chad
Comment