Sesederhana ini :
INSERT INTO config (id, customer_id, domain)
SELECT DISTINCT id, customer_id, domain FROM config;
Jika Anda ingin "www.example.com
" sebagai domain, Anda dapat melakukan :
INSERT INTO config (id, customer_id, domain)
SELECT DISTINCT id, customer_id, 'www.example.com' FROM config;