Microsoft
Software
Hardware
Network
Question : Count query help
I need to creat a query that returns items in my table that appear > 3 times and I'm getting a little stuck on the syntax.
I have a table containing:
ID Instance Code
I want to return a list of all Codes where that code appears more than 3 times. I am getting stuck on how to select these distinct codes, any help much appreciated.
Answer : Count query help
Correction :
1:
SELECT Code, COUNT(*) FROM yourTable GROUP BY Code HAVING COUNT(*)>3
Open in New Window
Select All
Random Solutions
FormClosing causes mscorlib.dll "Index was out of range exception".... why
Canon printer reports low ink after replacing ink cartridges.
Sub-form Question
Userform hide/show at Specific range
Is there a way to include a template with a Word document?
NT WORKSTATION CHANGE TO NT SERVER FREE!!!
Windows SBS 2008 DCPROMO fails - The Replication Operation Failed to Allocate Memory
How to change open directory in msoFileDialogOpen (Excel Vba)
How do you automatically detect proxy settings for a VB.NET applciation using IWebProxy
MS Access 2003 ... Add customized code to form created by Wizard