Create table w/ sub query

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

Create table w/ sub query

Post by GeXus »

I want to use a sub query to basically duplicate an existing table, but only load in distinct. How would I do this? I can't seem to get the syntax right
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

INSERT INTO .. SELECT form?
Post Reply