Check what one row represents - SQL | Zoonk