また、これを試すことができます
INSERT INTO locations (STREET_ADDRESS)
SELECT 'test' FROM DUAL
WHERE NOT EXISTS (
SELECT * from locations where STREET_ADDRESS = 'test'
) LIMIT 1;
また、これを試すことができます
INSERT INTO locations (STREET_ADDRESS)
SELECT 'test' FROM DUAL
WHERE NOT EXISTS (
SELECT * from locations where STREET_ADDRESS = 'test'
) LIMIT 1;
注意:未定義のプロパティ:C:\ wamp \ www \ social \ include\class-query.phpの134行目のstdClass::$ user_id MySQLはカンマ区切りフィールドに参加します