B
Brennan
Hello:
I am trying to run the following query:
SELECT tblBids_JobID, tblBids_BidDate AS BidYear, Sum
(tblBids_BidAmount) AS BidSum
FROM tblBids INNER JOIN (Select tblBids_1_JobID,
tblBids_1_EstimatorID, Min(tblBids_1_BidAmount) as MinBid
FROM tblBids_1 Group By tblBids_1_JobID,
tblBids_1_EstimatorID as M)
ON tblBids_JobID = m.JobID
AND tblBids_EstimatorID = m.EstimatorID
AND tblBids_BidAmount = m.MinBid
GROUP BY tblBids.tblBids_JobID,FORMAT
(tblBids_BidDate, "yyyy")
When I run it, I get the following error:
Syntax Error in JOIN operation
The cursor then moves to the word sum in the 1st line of
code. Any idea what I'm doing wrong
Thanks,
Brennan
I am trying to run the following query:
SELECT tblBids_JobID, tblBids_BidDate AS BidYear, Sum
(tblBids_BidAmount) AS BidSum
FROM tblBids INNER JOIN (Select tblBids_1_JobID,
tblBids_1_EstimatorID, Min(tblBids_1_BidAmount) as MinBid
FROM tblBids_1 Group By tblBids_1_JobID,
tblBids_1_EstimatorID as M)
ON tblBids_JobID = m.JobID
AND tblBids_EstimatorID = m.EstimatorID
AND tblBids_BidAmount = m.MinBid
GROUP BY tblBids.tblBids_JobID,FORMAT
(tblBids_BidDate, "yyyy")
When I run it, I get the following error:
Syntax Error in JOIN operation
The cursor then moves to the word sum in the 1st line of
code. Any idea what I'm doing wrong
Thanks,
Brennan