G
Guest
I am trying to get familiar with a database I didn't design, and there is
this line in this query:
SELECT AsbestosBridge.COUNTY, AsbestosBridge.BIN, RC12.Description AS
Carried, RC13.Description AS Crossed,...
What is "RC12.Description AS Carried" going to return? In the table for
RC12 there is a description, but no Carried. Same with Crossed. In the
AsbestosBridge table there is Carried and Crossed but no description.
The whole query (below) works and returns the descriptions, but Why is it
set up like this?
Any help is greatly appreciated.
Ken
SELECT AsbestosBridge.COUNTY, AsbestosBridge.BIN, RC12.Description AS
Carried, RC13.Description AS Crossed, AsbestosBridge.YEAR_BUILT,
AsbestosBridge.Painted, AsbestosBridge.PaintSamplingPriority,
AsbestosBridge.SampledPaint, AsbestosBridge.OnBridge, AsbestosBridge.InPaint,
AsbestosBridge.SampleRequested, AsbestosBridge.S1Date
FROM (AsbestosBridge INNER JOIN RC12 ON AsbestosBridge.BIN = RC12.BIN) INNER
JOIN RC13 ON AsbestosBridge.BIN = RC13.BIN
WHERE (((AsbestosBridge.Painted)=Yes) AND ((RC13.[Feature Number])=2))
ORDER BY AsbestosBridge.COUNTY, AsbestosBridge.BIN;
this line in this query:
SELECT AsbestosBridge.COUNTY, AsbestosBridge.BIN, RC12.Description AS
Carried, RC13.Description AS Crossed,...
What is "RC12.Description AS Carried" going to return? In the table for
RC12 there is a description, but no Carried. Same with Crossed. In the
AsbestosBridge table there is Carried and Crossed but no description.
The whole query (below) works and returns the descriptions, but Why is it
set up like this?
Any help is greatly appreciated.
Ken
SELECT AsbestosBridge.COUNTY, AsbestosBridge.BIN, RC12.Description AS
Carried, RC13.Description AS Crossed, AsbestosBridge.YEAR_BUILT,
AsbestosBridge.Painted, AsbestosBridge.PaintSamplingPriority,
AsbestosBridge.SampledPaint, AsbestosBridge.OnBridge, AsbestosBridge.InPaint,
AsbestosBridge.SampleRequested, AsbestosBridge.S1Date
FROM (AsbestosBridge INNER JOIN RC12 ON AsbestosBridge.BIN = RC12.BIN) INNER
JOIN RC13 ON AsbestosBridge.BIN = RC13.BIN
WHERE (((AsbestosBridge.Painted)=Yes) AND ((RC13.[Feature Number])=2))
ORDER BY AsbestosBridge.COUNTY, AsbestosBridge.BIN;