Q&A for programming puzzle enthusiasts and code golfers
DECLARE @M int,@D int;SELECT @M=reputation from users where id=8478;SELECT @D=reputation from users where id=12012;IF @D=@M PRINT('tie')ELSE BEGIN IF @D>@M PRINT(1)ELSE PRINT(2)END