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
Access Sample Databases - Web Sites
Using MS Access Startup, I have a Form being opened. On the Form is a command button. I want to automate the click of that button to run VB code created when I built the form. Can/How do I do that?
How to test NLB Load Balancing?
OCS - Exchange install order?
VB.net opening text file into DataGridView
MsgBox firing twice during OnCurrent event ???
Applying Adobe patch with a .msp file using Group Policy
How do I make a button to copy the contents of an access text box
Tif File Association in IE
Ms Access Query using LAST as criteria to find a record not working and bringing RANDOM Restuls