Question: List all the ids of the images that have a self-relation relationship.
SQL: SELECT DISTINCT IMG_ID FROM IMG_REL WHERE OBJ1_SAMPLE_ID = OBJ2_SAMPLE_ID