I have a table with legitimate and illegitimate records. I want to run a query based on one field, serial_number, that will show the serial number and a count of the records of interest.
The following SQL works, but it takes several minutes.
SELECT DISTINCT sn, count(*)
FROM ":server:assembly.RECORD"
WHERE OTHER_DESC LIKE '%SUBASY%' OR ASY_CONTROL_NO IN ('ab1','bc1')
GROUP BY sn
having count(*) > 1
Can a Paradox query handle the requirement?
TIA,
Ernie
The following SQL works, but it takes several minutes.
SELECT DISTINCT sn, count(*)
FROM ":server:assembly.RECORD"
WHERE OTHER_DESC LIKE '%SUBASY%' OR ASY_CONTROL_NO IN ('ab1','bc1')
GROUP BY sn
having count(*) > 1
Can a Paradox query handle the requirement?
TIA,
Ernie