Link to home
Start Free TrialLog in
Avatar of breeze351
breeze351

asked on

Export select records from a SQL table

I need to export certain records from a table and then import them into another table.

SELECT * FROM `survey_data` WHERE `UPDATE_DAT` < "20161001"

These are the records that I want.

How do I import them into the 'history' table?

Glenn
ASKER CERTIFIED SOLUTION
Avatar of Olaf Doschke
Olaf Doschke
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of breeze351
breeze351

ASKER

That works, structure is the same.
Thanks