Board index » delphi » using sql count and sub queries.
Dianne
![]() Delphi Developer |
Fri, 23 Mar 2001 03:00:00 GMT
using sql count and sub queries.
I need to count two different fields using different criteria from the same
table and can't get it to work. See below for sample. I need a count when column correct = response and I need another count for the resp_count column when it = 1. The following query returns nothing. SELECT All suggestions are appreciated. Dianne |