| | |
Meeting at least n criteria from given criteria
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
once again you need to group by using the outer query
MS SQL Syntax (Toggle Plain Text)
FROM ships WHERE classes.class=ships.class) -- note the end parenthese -- now put your group by and total GROUP BY name, classmatch, borematch, displacementmatch, countrymatch, launchedmatch, typematch, numgunsmatch WHERE total>=4
Last edited by dickersonka; Sep 10th, 2008 at 11:58 am.
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Similar Threads
- Variable scope problem (C++)
- new to PHP and need help (PHP)
- What is ethical SEO? (Search Engine Optimization)
Other Threads in the MS SQL Forum
- Previous Thread: Installing SQL Server Express on Vista Home Premium
- Next Thread: Upgrade SQL 2005 Standard and SQL 2005 Enterprise Edition
| Thread Tools | Search this Thread |






