|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
need help with insert into table from two other tablesI have a table with 3000 Client_id's.
I have another table with 56 different order types. The order types primary key is two fields (search_id, item_id) I need to insert into another table each client_id, along with each unique instance (56 instances) of search_id, item_id. So the new table would have 3000 (client_id's) x 56 (distinct order types) = 168000 rows. What would be the easiest to go about this? Thanks. |
|||||||||||||||||||||||