-- MySQL SELECT * FROM example WHERE NOT(column <> 'value'); -- PostgreSQL SELECT * FROM example WHERE column IS DISTINCT FROM 'value';