I would like to insert a bunch of values from old_table with multiple columns into a new_table with 1 column.
This is how I plan to make a selection:
SELECT DISTINCT City FROM old_table;
I would like to insert all the values from this selection into a column.
Normally I would use INSERT INTO table_name VALUES (value1)
, but this is for inserting 1 row. Now I have 10000 rows I want to insert at once. My apologies if this is already answered. I had little success with googling, due to not knowing how to formulate question.