hi, please could someone explain the reason why the following command is throwing the following syntax error:
You have an error in your SQL syntax near 'SELECT [Category] FROM [Raw] As Tmp GROUP BY [Category],[Individual_ID] HAVING C' at line 3
SELECT DISTINCTROW Raw.Category, Raw.Individual_ID, Raw.Key, Raw.Lane, Raw.Peak1, Raw.Peak2, Raw.Peak1_Real, Raw.Peak2_Real, Raw.Peak1_Intensity, Raw.Peak2_Intensity, Raw.Overflow, Raw.Filename
FROM Raw
WHERE (((Raw.Category) In (SELECT [Category] FROM [Raw] As Tmp GROUP BY [Category],[Individual_ID] HAVING Count>1 And [Individual_ID] = [Raw].[Individual_ID])) AND ((Raw.Individual_ID) Not Like "control%" And (Raw.Individual_ID) Not Like "water")
ORDER BY Raw.Category, Raw.Individual_ID
I cannot for the life of me figure it out!
Thanks in advance
Rich