Back to front pageView on Hacker News (opens in a new tab)Show HN: I wrote a free eBook about many lesser-known/secret database tricks (opens in a new tab)sqlfordevs.com865 pointsby tpetry (on Hacker News)3 years agosqlfordevs.com (opens in a new tab)SQLforDevs.com - Next-Level Database Techniques for Developers EbookStop treating the database as dumb storage and use its extended features. There's a lot you can use.Comments (174) 54 threadsShow all commentsShowing thread 33 of 54remram3 years ago# -- MySQL SELECT * FROM example WHERE NOT(column <> 'value'); -- PostgreSQL SELECT * FROM example WHERE column IS DISTINCT FROM 'value'; That doesn't seem equivalent?
Show HN: I wrote a free eBook about many lesser-known/secret database tricks (opens in a new tab)sqlfordevs.com865 pointsby tpetry (on Hacker News)3 years ago
remram3 years ago# -- MySQL SELECT * FROM example WHERE NOT(column <> 'value'); -- PostgreSQL SELECT * FROM example WHERE column IS DISTINCT FROM 'value'; That doesn't seem equivalent?
Comments (174) 54 threads
Show all comments
Showing thread 33 of 54