Discussion Board
Welcome Guest! You can login or register. Login or Register.

Options
Go to last post Go to first unread
Zero2Cool  
#1 Posted : Friday, October 18, 2013 7:29:06 AM(UTC)
Some have asked to see a percentage. This is not feasible to have a sort by this because someone could easily pick the 'locks' and get a high percentage. But for fun, I threw together a query and got something to show for kicks.


Code:
Name	Picks	Correct	
OSOGRANDE	16	12	75.00%
OlHoss1884	90	61	67.78%
dhazer	93	63	67.74%
Maverick	93	61	65.59%
gbguy20	63	41	65.08%
Wade	62	40	64.52%
steveishere	64	41	64.06%
buckeyepackfan	93	59	63.44%
wpr	93	59	63.44%
Zero2Cool	93	59	63.44%
Tezzy	90	57	63.33%
Gaycandybacon	32	20	62.50%
gbpfan	16	10	62.50%
Pack93z	93	58	62.37%
yooperfan	92	57	61.96%
macbob	76	47	61.84%
rlyon	44	27	61.36%
porky88	75	46	61.33%
The_Green_Ninja	15	9	60.00%
hardrocker950	93	55	59.14%
GoPack1984	93	54	58.06%
GermanGilbert	75	43	57.33%
beast	93	53	56.99%
SINCITYCHEEZE	93	50	53.76%
DoddPower	16	8	50.00%

wpr  
#2 Posted : Friday, October 18, 2013 7:59:47 AM(UTC)
boy do I stink when it comes to picking. I will stay out of Vegas.
Pack93z  
#3 Posted : Friday, October 18, 2013 8:04:56 AM(UTC)
Might want to check that query... Wayne has made over 200 picks? [grin1]
Zero2Cool  
#4 Posted : Friday, October 18, 2013 8:41:24 AM(UTC)
Pack93z said: Go to Quoted Post
Might want to check that query... Wayne has made over 200 picks? [grin1]


When you make 214 picks on September 10th, 2013, that'll be the case. The query takes all picks made and doesn't use a parameter for 'up to' the current week.
Pack93z  
#5 Posted : Friday, October 18, 2013 8:54:35 AM(UTC)
Zero2Cool said: Go to Quoted Post
When you make 214 picks on September 10th, 2013, that'll be the case. The query takes all picks made and doesn't use a parameter for 'up to' the current week.


Ahh... so he has filled in his picks for the year already forward.. makes sense.. but it also highlights a problem as well.. the picks for this week are going to be misses as there is no result yet.

Can it be queried if the winning/correct team is not null?
Zero2Cool  
#6 Posted : Friday, October 18, 2013 9:05:59 AM(UTC)
Pack93z said: Go to Quoted Post
Ahh... so he has filled in his picks for the year already forward.. makes sense.. but it also highlights a problem as well.. the picks for this week are going to be misses as there is no result yet.

Can it be queried if the winning/correct team is not null?


Yes sir. It's more so just a glimpse that it can be done. I had a stumbling block on a work project and my mind went awry. :)

The structure of the database tables ... has room for improvement, but still offers a lot of flexibility to do as you suggest.

Easiest addition would be to add a condition that

AND GameDateTime < GetDate()

I think that would ensure the game has to be played or ... my mind just went blank. Lost my thought. I'll come back later if it comes back.
Pack93z  
#7 Posted : Friday, October 18, 2013 9:13:26 AM(UTC)
LOL.. know the blank mind feeling.. people at times walk in here and I am probably zombie like.. lost in thought.. code or something.. lol.
wpr  
#8 Posted : Friday, October 18, 2013 11:24:33 AM(UTC)
Zero2Cool said: Go to Quoted Post
When you make 214 picks on September 10th, 2013, that'll be the case. The query takes all picks made and doesn't use a parameter for 'up to' the current week.


swell now everyone will want to pick early.

BTW- does it change the data above when I come back and revise my picks later? (That is not counted as selecting twice?)

Zero2Cool  
#9 Posted : Friday, October 18, 2013 11:29:24 AM(UTC)
wpr said: Go to Quoted Post
swell now everyone will want to pick early.

BTW- does it change the data above when I come back and revise my picks later? (That is not counted as selecting twice?)



Yes.
wpr  
#10 Posted : Friday, October 18, 2013 12:51:54 PM(UTC)
Zero2Cool said: Go to Quoted Post
Yes.


Since I have voted early, over the course of the season I have changed my vote on a few games each week.
Zero2Cool  
#11 Posted : Friday, October 18, 2013 1:04:24 PM(UTC)
the timestamp is inserted on first selection. each time you change your pick, it updates the timestamp. the timestamp is nothing more than a way for big brother to spy to ensure one did not change their pick AFTER the game started or was concluded. there are no queries against it since all loopholes have been extinguished.
gbguy20  
#12 Posted : Sunday, October 27, 2013 9:52:14 AM(UTC)
How did i miss this until now?!

Rss Feed
Users browsing this topic
Guest
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error

Fan Shout
Zero2Cool (4h) : LETS GO PENGUINS!!
buckeyepackfan (26-May) : Cavs!!!!!
Cheesey (26-May) : POLAR BEARS!!!!???lol!
Zero2Cool (26-May) : PENGUINS!!!!
Zero2Cool (24-May) : Sad about Cortez Kennedy. I remember playing him in Tecmo (beast!)
Cheesey (23-May) : RIP Cortez Kennedy
Smokey (23-May) : R.I.P.Sir Rodger (007) Moore .
Smokey (23-May) : Try Fish
Porforis (22-May) : Chicken 4 dayz!
gbguy20 (22-May) : Agreed
Smokey (21-May) : Yes, I like Chick-fil-a .
Smokey (21-May) : Rabid Chicken ? LOL
rabidgopher04 (21-May) : Chick fil a
Zero2Cool (20-May) : Penguins & Bad Guys Tied 2 apiece! LETS GO PENS!
Smokey (20-May) : Who sells the best Chicken Sandwich ? Wendy, the King, McD, etc. ?
Smokey (20-May) : Just Visiting ? Join and post today !
Zero2Cool (18-May) : Screw you. (signed Pens fan)
TheKanataThrilla (18-May) : Go Sens!!! Will be in the crowd for the Friday game.
Smokey (18-May) : E.Lacy makes weight in Seattle by 2 lbs. (253 lbs.)
buckeyepackfan (17-May) : Blount signs 1 year deal with Eagles.
DarkaneRules (14-May) : and still! Miocic & Jedrzejczyk
Zero2Cool (13-May) : RP ... you mean Go Pens ... I fix for you.
RaiderPride (13-May) : Gotta Love P.K. T.K.T. I agree.. Go Preds.
Smokey (12-May) : CB Kevin King signs 4 yr deal, no 5th year option .
TheKanataThrilla (12-May) : Go Nashville in the West
TheKanataThrilla (12-May) : My son is wearing his Mario Lemieux Pens shirt and my daughter is wearing he Sens shirt. We win no matter what.
Zero2Cool (11-May) : Aaron Nagler:Packers announce first training camp practice to be held Thursday, July 27
Zero2Cool (11-May) : Capitals are dirty weak trash.
Zero2Cool (11-May) : NHL is great! PENGUINS!!!!
yooperfan (10-May) : Screw the NBA and the NHL, neither are worth watching!
wpr (10-May) : hahaha. Poor Bettman. Worth the price to see it.
TheKanataThrilla (10-May) : Bettman would blow a gasket if it was an all-Canadian finals. I want Nashville as I am a huge Mike Fisher fan.
Smokey (10-May) : Cheap Shot ? I think not .
wpr (10-May) : Thrilla how about an all Canada Finals?
TheKanataThrilla (10-May) : Pens tomorrow. Screw you Caps for the cheap shot on Crosby.
Please sign in to use Fan Shout
2017 Packers Schedule
Sunday, Sep 10 @ 3:25 PM
SEAHAWKS
Sunday, Sep 17 @ 7:30 PM
at Falcons
Sunday, Sep 24 @ 3:25 PM
BENGALS
Thursday, Sep 28 @ 7:25 PM
BEARS
Sunday, Oct 8 @ 3:25 PM
at Cowboys
Sunday, Oct 15 @ 12:00 PM
at Vikings
Sunday, Oct 22 @ 12:00 PM
SAINTS
Sunday, Oct 29 @ 12:00 AM
- BYE -
Monday, Nov 6 @ 7:30 PM
LIONS
Sunday, Nov 12 @ 12:00 PM
at Bears
Sunday, Nov 19 @ 12:00 PM
RAVENS
Sunday, Nov 26 @ 7:30 PM
at Steelers
Sunday, Dec 3 @ 12:00 PM
BUCCANEERS
Sunday, Dec 10 @ 12:00 PM
at Browns
Saturday, Dec 23 @ 7:30 PM
VIKINGS
Sunday, Dec 31 @ 12:00 PM
at Lions
Saturday, Dec 17 @ 12:00 PM
at Panthers
Think About It
Think About It
Recent Topics
3h / Green Bay Packers Talk / isocleas2

19h / Green Bay Packers Talk / Porforis

27-May / Green Bay Packers Talk / DakotaT

26-May / Green Bay Packers Talk / beast

25-May / Fantasy Sports Talk / Smokey

25-May / Around The NFL / Cheesey

25-May / Green Bay Packers Talk / wpr

23-May / Green Bay Packers Talk / Smokey

22-May / Green Bay Packers Talk / nerdmann

22-May / Green Bay Packers Talk / Smokey

21-May / Packers Draft Threads / Smokey

20-May / Green Bay Packers Talk / Smokey

19-May / Green Bay Packers Talk / sschind

19-May / Green Bay Packers Talk / sschind

18-May / Green Bay Packers Talk / Smokey

Headlines