2 tables:
assets: ... [asset id] ...
pvtorecycle: fred
Both fields are text.
Prior to updating certain records in assets i first try to find them using values previously typed into pvtorecycle.fred.
SELECT *
FROM assets
WHERE pvtorecycle.fred = assets.[asset id];
However, when I run the...
I have a query which takes a user-supplied parameter and produces an output like this
Date Count parameter x
=== ============
SELECT [asset tests].[test date], count(assets.[asset key])
FROM [asset tests] LEFT JOIN assets ON ([asset tests].[asset id] = assets.[asset key]) and (assets.[test...
The old 'how many detail lines does each master record have', with a twist.
I have 2 tables,
A: key, integer1, ...;
and
B: key, testdate, ...
Basically, A is master records, B is detail lines, related by A.key = B.key.
What I am looking for is a query generating:
testdate, counta
where testdate...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.