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
Ask a Question
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

troubleshooting Question

Php MySQL compare 2 tables and show items not in both

Avatar of steveo442
steveo442 asked on
PHPMySQL Server
4 Comments1 Solution272 ViewsLast Modified:
Hi Experts!

I have 2 tables setup like this:

Bins Table (This contains the on hand inventory):

Columns: Work_Order, Part_Number, Location


Tomorrow Table (This contains the calls to be run for tomorrow)

Columns: WorkOrder, PartNumber, Location

What I’m trying to do here is show the parts that we DON’T have in stock for the tomorrow calls.

For example:

I want it to let me know we don’t have the Intercooler on hand in the following situation:

Bins Table
Work_Order      Part_Number      Location
1234567                 Turbo            610

Tomorrow Table
WorkOrder      PartNumber      Location
1234567                  Turbo            610
1234567                 Intercooler      610

ASKER CERTIFIED SOLUTION
Avatar of Daniel Wilson
Daniel WilsonFlag of United States of America image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers