i have a table, lets say it looks like this
year, number, assigned, 1st_select, 2nd_select, 3rd_select
so some entries could look like this
2003, 10, true, true, false, true
2003, 10, true, false, true, false
2002,09,true,false,false,false
2002,09,true,false,false,false
2002,10,false,false,false,false
basically, i need to find all entries that have the same year and number....and have assigned set to true, but 1st,2nd, and 3rd select all set to false. the problem is that i need to find all years,number sequences that are identical..and have all selects set to false.
what is the best way to do this?