MySQL: Insert record if not exists in table - Stack Overflow

MySQL: Insert record if not exists in table - Stack Overflow

瀏覽:1124
日期:2024-09-09
I am trying to execute the following query: INSERT INTO table_listnames (name, address, tele) VALUES ('Rupert', 'Somewhere', '022') WHERE NOT EXISTS ( SELECT name FROM table_listnames WHERE ... @Piskovar: Agreed. @Rupert: you should index the ......看更多