Jump to content

help with SQL statement pulling data from two tables


webguync

Recommended Posts

Hi, I need a SQL statement that will pull out all of the data from the fields in Table A and also combine info from just one field in table B. I am having difficulty coming up with the right SQL statement. I tried UNION, but since all there are an uneven number of columns in each table that didn't work. Also tried LEFT JOIN, but that doesn't work because the two tables don't share any common columns. Any ideas on the best method?

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.