what river ends in moei river and also starts somewhere in thailand ?
SELECT DISTINCT var_uri where brack_open var_uri dbo_riverMouth dbr_Moei_River sep_dot var_uri dbo_sourceCountry dbr_Thailand sep_dot var_uri a dbo_River brack_close