![]() |
kujox 10/28/2007 |
Hi, I have 2 table: Table1 with fields: Field1 Field2 Field3 Field4 and Table2 with fields: Field5 Field6 Field7 Field8 I create Table3 with following fields: Field9 Field10 Field11 Field12 Field13 What i need is to copy all de records from Table1 and Table2 to Table 3 but not from all fields. I want to copy from Table1 from fields1, 3 and 4 to Table3 in fields9, 10 and 11. Also i need to copy from Table2: fields4 and 7 to Table3 in fields12 and 13. The result is to see all the records from specify fields from Table1 and 2 in specify fields from Table3. Please tell me how to do that. Thank you!
|
L
|
luck author 10/28/2007 |
quote] |
![]() |
Sergey Kornilov admin 10/28/2007 |
You need to explain how and when it should work. |
L
|
luck author 10/28/2007 |
You need to explain how and when it should work. Do you need to do this just once? Use phpMyAdmin in this case. Do you need to do this per user request? Right it's not clear how this related to PHPRunner.
|
![]() |
Sergey Kornilov admin 10/28/2007 |
Here is the sample code that allows you to insert some data from two tables into the third table: INSERT INTO Table( Field1, Field2, Field3 )
|
L
|
luck author 10/28/2007 |
Here is the sample code that allows you to insert some data from two tables into the third table: INSERT INTO Table( Field1, Field2, Field3 )
|