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
How to rename a RDP session printer
data transfer cable vista
Can't get the Excel ado connection to work with .xls version 2.1
Access 2003: transfer spreadsheet is failing
JQuery is disabled by partial postbacks
How do I manually code a Generic Pull Down Menu in VB Express 2008
Excel opens to a gray screen on first launch
VB.net properties window not showing events
Formula to find variable text string within another string
User-Level Security