The Query To List All States Only Once