the real dual sql