Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    -- MySQL
    SELECT * FROM example WHERE NOT(column <> 'value');
    -- PostgreSQL
    SELECT * FROM example WHERE column IS DISTINCT FROM 'value';
That doesn't seem equivalent?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: