mysql|mysql 插入数据校验

INSERT INTO Att_Record_Worker(`ID`, `FK_CODE`, `WORKER_FK_CODE`, `CARD_CODE`, `ATTENDANCE_DAY`, `TYPE`, `ATTENDANCE_STATUS`, `ATTENDANCE_TIME`, `CREATE_TIME`, `UPDATE_TIME`, `DEL_STATUS`, `SCHOOL_FK_CODE`) SELECT 280099, 243044349087055872, 227431707375042560, '242995483138588672', '2018-09-28', 1, 6, '13:32:34', '2018-09-28 13:32:34', '2018-09-28 13:32:34', 0, 207581050023444480 FROM DUAL WHERE NOT EXISTS( SELECT ID FROM Att_Record_Worker WHERE ID = 280099 );

    推荐阅读