Jump to content

Merging two tables


ballouta

Recommended Posts

Hello

 

I am using this query to merge two tables of same stucture, both contains email address, the one problem i have is that there's duplicated entries:

insert into `mlist_01` (`email`) select DISTINCT(`email`) from `mlist_02`

 

is it possible to ask the query to avoid duplicated emails and leave them?

 

thank You

Link to comment
https://forums.phpfreaks.com/topic/190743-merging-two-tables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.