We help IT Professionals succeed at work.
Get Started

Combination of data results from 2 tables into a 3rd table

Last Modified: 2010-05-18
I have 2 tables

fldPLID fldLOFID   fldLike
1            16          4
2            19          25
2            20          75
3            24          30

fldPLID fldCOFID   fldCons
1            3          18
2            7          20
2            9          50
3            10        20

I want to insert into a third table the results from the above 2 tables where fldPLID = 2

fldPLID   fldLOFID fldCOFID  
2             19          7
2             19          9
2             20          7
2             20          9

The results are combinations of the 2 tables
The procedure to occur at run time based on fldPLID selected

any help really appreciated
Am using Delphi 7
SQL2000 backend

Watch Question
This problem has been solved!
Unlock 2 Answers and 5 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE