Lurker News

Comments (174) 54 threads

Earlier comments
remram#

    -- MySQL
    SELECT * FROM example WHERE NOT(column <> 'value');
    -- PostgreSQL
    SELECT * FROM example WHERE column IS DISTINCT FROM 'value';
That doesn't seem equivalent?
Ozzie_osman#
This was a great read, but I was surprised not to see window functions in here. They are so powerful and I'd estimate that less than 10% of developers I've worked with even know they exist.
revskill#
Thanks. One suggestion: Could you put all materials in github for contribution ?
benjy77#
Might there be an error in "Simplified Inequality Checks With Nullable Columns" for mysql?

NOT(column <> 'value') seems to be wrong
Did you mean
NOT(column <=> 'value')
?

Load more comments