Q&A for professional and enthusiast programmers
/* Count voting behavior to evaluate activity */ SELECT u.Id, u.UpVotes, u.DownVotes, (u.UpVotes - u.DownVotes) as NetVoting FROM Users u tablesample(1 percent)