SELECT * WHERE application <> ? -- and SELECT * WHERE application = ?