Hi,
I am trying to run this query but I am getting an error message.
Code:
SELECT DISTINCT tbl.PROVID, tbl.[PROV NAME], tbl.SPECIALTY,tbl.[dt], top 25 ([tbl].[ID]) AS New
FROM tbl INNER JOIN tbl1 ON tbl.dt Not like tbl1.dt
ORDER BY tbl.[ID];
Error:
Syntax error(missing Operator) in query expression 'top 25([tbl].[ID])
What I am trying to do is retrieve 25 records randomly from Table (tbl) where the date field (dt) Does not equal the field (dt) in tbl1.
thanks in advance.
Joseph
I am trying to run this query but I am getting an error message.
Code:
SELECT DISTINCT tbl.PROVID, tbl.[PROV NAME], tbl.SPECIALTY,tbl.[dt], top 25 ([tbl].[ID]) AS New
FROM tbl INNER JOIN tbl1 ON tbl.dt Not like tbl1.dt
ORDER BY tbl.[ID];
Error:
Syntax error(missing Operator) in query expression 'top 25([tbl].[ID])
What I am trying to do is retrieve 25 records randomly from Table (tbl) where the date field (dt) Does not equal the field (dt) in tbl1.
thanks in advance.
Joseph