shere
09-15-2007, 08:45 PM
selecting data (columns) from two different tables and then
creating new table and placing selected columns in the created table.
creating new table and placing selected columns in the created table.
|
Click to See Complete Forum and Search --> : sql query shere 09-15-2007, 08:45 PM selecting data (columns) from two different tables and then creating new table and placing selected columns in the created table. flann 09-16-2007, 01:54 PM SELECT tbl1.field1, tbl1.field2, tbl2.field3 FROM table1 as tbl1 INNER JOIN table2 as tbl2 ON tbl1.table1ID = tbl2.table1ID Then use the create table to create a new table as you loop through the results of this. mattyblah 09-17-2007, 09:52 AM What RDBMS are you using? you can use select into with SQL Server. webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |