Quantcast
Channel: Answers for "How to show another tables data in a specific column based on a query"
Browsing latest articles
Browse All 4 View Live

Answer by Oleg

Because your PC Table has 2 columns storing the printer IDs, you just need to join this table with your printer table twice, once for each ID. Here is the script: select pc.Asset, printer.[Path]...

View Article



Answer by Grant Fritchey

Can't you just JOIN to the table twice? SELECT pct.Asset, pt1.Path AS PrinterID1, pt2.Path AS PrinterID2 FROM PCTable AS pct JOIN PrinterTable AS pt1 ON pct.Printerid1 = pt1.PrinterID JOIN PrinterTable...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images