Ruby on Rails Blog
Ruby on rails blog
Friday, November 18, 2011
PostgreSQL row sort with NULL values and empty string at last
ORDER BY NULLIF(first_name, '') DESC NULLS LAST
More examples here
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment