Started By
Message

A request of the tigerdroppings DBAs

Posted on 3/18/18 at 2:52 pm
Posted by vuvuzela
Oregon
Member since Jun 2010
14663 posts
Posted on 3/18/18 at 2:52 pm
The downvote thread got me thinking, can we get a list of the top 5 upvoted and top 5 downvoted posts of all time? I would love to use this data to hone in my skills as a valued poster of this sweet and homely community.
Posted by Giantkiller
the internet.
Member since Sep 2007
20260 posts
Posted on 3/18/18 at 2:53 pm to
No.
Posted by Spankum
Miss-sippi
Member since Jan 2007
55979 posts
Posted on 3/18/18 at 2:54 pm to
There have been several posts through the years that got a rediculous number of down votes!
Posted by RedFoxx
New Orleans, LA
Member since Jan 2009
5992 posts
Posted on 3/18/18 at 2:58 pm to
quote:

There have been several posts through the years that got a rediculous number of down votes!


And a greeniculous number of upvotes.
Posted by High C
viewing the fall....
Member since Nov 2012
53717 posts
Posted on 3/18/18 at 2:58 pm to
quote:

sweet and homely community.


You calling me ugly?
Posted by DarthRebel
Tier Five is Alive
Member since Feb 2013
21232 posts
Posted on 3/18/18 at 2:59 pm to
SELECT TOP 5 Poster, COUNT(*) as CNT
FROM VoteTable
WHERE VoteType = 'UP'
GROUP BY Poster
ORDER BY 2 DESC

SELECT TOP 5 Poster, COUNT(*) as CNT
FROM VoteTable
WHERE VoteType = 'DOWN'
GROUP BY Poster
ORDER BY 2 DESC
Posted by White Roach
Member since Apr 2009
9449 posts
Posted on 3/18/18 at 3:07 pm to
quote:

SELECT TOP 5 Poster, COUNT(*) as CNT FROM VoteTable WHERE VoteType = 'UP' GROUP BY Poster ORDER BY 2 DESC SELECT TOP 5 Poster, COUNT(*) as CNT FROM VoteTable WHERE VoteType = 'DOWN' GROUP BY Poster ORDER BY 2 DESC


I don't know what any of that means, but Hammertime's "Check His Knuckles First" thread had over 1,200 downvotes. It occasionally gets bumped, so new downvoters can add to the tally.

I'd guess MeauxJeaux2's "Better gas mileage at 100 mph" thread got at least 800.

Posted by GeorgeTheGreek
Sparta, Greece
Member since Mar 2008
66405 posts
Posted on 3/18/18 at 3:09 pm to
People are going to try to figure that out.

Well played.
Posted by The Torch
DFW The Dub
Member since Aug 2014
19245 posts
Posted on 3/18/18 at 3:10 pm to
quote:

hone in my skills as a valued poster


Fake News
Posted by Godfather1
What WAS St George, Louisiana
Member since Oct 2006
79616 posts
Posted on 3/18/18 at 3:17 pm to
quote:

I don't know what any of that means, but Hammertime's "Check His Knuckles First" thread had over 1,200 downvotes. It occasionally gets bumped, so new downvoters can add to the tally.

I'd guess MeauxJeaux2's "Better gas mileage at 100 mph" thread got at least 800.



RFK’s thread about guys wearing Polo shirts got hammered pretty good, as I recall. And rightfully so.
Posted by Masterag
'Round Dallas
Member since Sep 2014
18798 posts
Posted on 3/18/18 at 3:17 pm to
quote:

don't know what any of that means


Op requested a DBA. It appears DR’s post went over your head. Do you even SQL, brah?
Posted by HoustonGumbeauxGuy
Member since Jul 2011
29473 posts
Posted on 3/18/18 at 3:21 pm to
Are you a SQL guy work wise?
Posted by Cap Crunch
Fire Alleva
Member since Dec 2010
54189 posts
Posted on 3/18/18 at 3:21 pm to
Never thought my SQL knowledge would pay off on the OT
Posted by OweO
Plaquemine, La
Member since Sep 2009
113896 posts
Posted on 3/18/18 at 3:28 pm to
Why? There are a lot of decent threads that get more downvotes than upvotes and a lot of crap threads that get more upvotes. What are you expecting to find?
Posted by PiscesTiger
Concrete, WA
Member since Feb 2004
53696 posts
Posted on 3/18/18 at 3:30 pm to
Rfk telling other men how to dress was pretty much downvoted by everyone.
Posted by When in Rome
Telegraph Road
Member since Jan 2011
35538 posts
Posted on 3/18/18 at 3:33 pm to
quote:

And a greeniculous number of upvotes.
Posted by tigercross
Member since Feb 2008
4918 posts
Posted on 3/18/18 at 3:33 pm to
This would return the top 5 most upvoted and downvoted posters. OP asked for most upvoted and downvoted POSTS.
Posted by Dire Wolf
bawcomville
Member since Sep 2008
36588 posts
Posted on 3/18/18 at 3:33 pm to
If you want to see some impressive work go to /r/downvotetrolling
Posted by MrSmith
Member since Sep 2009
8311 posts
Posted on 3/18/18 at 4:01 pm to
I'm thinking your missing the JOIN of users and posts.

Assuming upvotes and downvotes are just a column on posts

SELECT u.id, u.username, SUM(p.downvotes)
FROM users u
LEFT JOIN posts p
ON p.user_id = u.id
GROUP BY u.id
ORDER BY SUM(p.downvotes) DESC
LIMIT 5
Posted by PsychTiger
Member since Jul 2004
98739 posts
Posted on 3/18/18 at 4:03 pm to
quote:

hone in my skills as a valued poster of this sweet and homely community.


Just look at Rex’s post history and don’t do any of that.
first pageprev pagePage 1 of 2Next pagelast page

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram