Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSERT IGNORE INTO building_access (employee_id, b0, b12, b13, b14, b15, b16)
- SELECT * FROM (SELECT '102OSI', '1', '0', '1', '0', '1', '0') AS tmp
- WHERE NOT EXISTS ( SELECT employee_id FROM building_access WHERE employee_id = '102OSI' ) LIMIT 1;
Add Comment
Please, Sign In to add comment