Jump to content

Help with a JOIN - select all table 1 and first entry on table 2


bwcc

Recommended Posts

Currently, this is my join:

 

SELECT * FROM mso_record LEFT JOIN mso_problem ON mso_record.tracking=mso_problem.tracking ORDER BY 1 DESC

 

This will pick all of mso_record and match them with all records in mso_problem where tracking is the same.  I am wanting to change that to where it only picks the first record in mso_problem where tracking is the same.

 

Any ideas?

 

TIA

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.