How to create a new table with datafrom another table
21 August 2009
811 views
No Comment
Simply, you can use ‘Insert Into‘
ex:
Create Table newTable (id VarChar(10))
Insert Into newTable Select id from oldTable
Popularity: unranked [?]
Related interview questions
- Create dynamic query with dynamic joins
- Change date format mm/dd/yy to dd/mm/yy using query?
- Write query to get custom results
- Can I alter a table (e.g. adding a column) when other user is selecting some columns or updating some columns from the same table?
- What is a base table?



(3 votes, average: 4.67 out of 5)







Leave your response!
You must be logged in to post a comment.