What is the ID of the image with the most number of object samples?
ID of the image refers to IMG_ID; most number of object samples refers to max(count(OBJ_SAMPLE_ID))
SELECT IMG_ID FROM IMG_OBJ GROUP BY IMG_ID ORDER BY COUNT(OBJ_SAMPLE_ID) DESC LIMIT 1