Link to home
Start Free TrialLog in
Avatar of nmarano
nmarano

asked on

Query Count

Experts, I'm using the query below to pull data from the db, and want to add a clause of WHERE count(misconcepion) >=4, but I keep getting an error when I do.  Can someone tell me how to add this clause to my query?

Thanks
Nick

query:

SELECT ss.studentID, s.fName,s.lName, count(misconception) AS misc
FROM studentmisconceptionreport ss
INNER JOIN students s on s.studentID = ss.studentID
WHERE itemsetID = 65
group by ss.studentID
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nmarano
nmarano

ASKER

Angel thanks!  I'll give it a try now
Avatar of nmarano

ASKER

Thank you sir!  Much appreciated!