MySQL Forums
Forum List  »  Newbie

Re: Making Tables from Values in a Field
Posted by: Peter Brawley
Date: October 17, 2017 07:51PM

one way ...

create table countries
select distinct country from your table;
l
or copy in the countries table from the sample mysql `world` database.

Options: ReplyQuote


Subject
Written By
Posted
Re: Making Tables from Values in a Field
October 17, 2017 07:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.