I have a sqlite table with data similar to the following:
id | flag ----+----- 1 | 0 2 | 0 3 | 1 4 | 0 5 | 1 6 | 0 7 | 1
I\