Welcome, Guest. Please login or register.
May 09, 2025, 07:01:00 PM

Login with username, password and session length

Recent Topics

[May 08, 2025, 09:53:46 AM]

[May 05, 2025, 09:12:01 AM]

[May 03, 2025, 06:39:16 PM]

by jed
[May 02, 2025, 09:57:11 AM]

[May 01, 2025, 05:53:19 PM]

[April 26, 2025, 04:27:54 PM]

[April 23, 2025, 11:10:07 AM]

by [WR]
[April 23, 2025, 09:15:13 AM]

[April 21, 2025, 10:44:08 AM]

[April 17, 2025, 04:48:17 PM]

[April 17, 2025, 08:45:02 AM]

by jed
[April 11, 2025, 01:03:22 PM]

[April 11, 2025, 06:19:31 AM]

[April 07, 2025, 07:03:34 AM]

[April 05, 2025, 08:50:20 PM]

Picture Of The Month



Guess who's back?
jed with a spring Big Mack

Topic: EOBasser's on Fire!  (Read 7168 times)

0 Members and 1 Guest are viewing this topic.

bsteves

  • Fish Nerd
  • Administrator
  • Sturgeon
  • *****
  • Better fishing through science
  • Location: Portland, OR
  • Date Registered: Feb 2007
  • Posts: 4584
I am curious, As the tournament progresses will the AOTY program just have the highest point total, of all fish entered, as the leader or will it determine the "actual" leader based on the highest 10 fish average?  

Good question. I hope it shows the actual leader based on that person's top 10 scoring fish.



Yep, your overall score is based only on your top ten species.  

Here's the code to prove it.

Code: [Select]
SELECT id as user_id, users.login, Q1.Score from users left join (SELECT user_id, login, sum(maxspscore)
 as score FROM (SELECT t1.user_id, t1.login, t1.speciesname, t1.maxspscore, COUNT(*) AS lowerscore FROM
(SELECT users.id as user_id, users.login, targets.speciesname, Max(length*targets.points) AS maxspscore FROM
users INNER JOIN (targets INNER JOIN catches ON targets.id = catches.target_id) ON users.id = catches.user_id
WHERE (catches.date >= users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-
01-01') GROUP BY users.login, targets.speciesname) AS t1 JOIN (SELECT users.id as user_id, users.login,
targets.speciesname, Max(length*targets.points) AS maxspscore FROM users INNER JOIN (targets INNER JOIN
catches ON targets.id = catches.target_id) ON users.id = catches.user_id WHERE  (catches.date >=
users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-01-01') GROUP BY
users.login, targets.speciesname) AS t2 ON t1.user_id = t2.user_id AND t1.maxspscore <= t2.maxspscore
GROUP BY t1.user_id, t1.maxspscore HAVING lowerscore <=10) AS Table1 GROUP BY user_id order by score
DESC) as Q1 ON users.id = Q1.user_id where date_paid >='2010-01-01' order by Q1.score DESC, users.login;
« Last Edit: May 17, 2010, 01:15:01 PM by bsteves »
“People say nothing is impossible, but I do nothing every day.”

― A.A. Milne, Winnie-the-Pooh


rawkfish

  • ORC
  • Sturgeon
  • *
  • Cabby Strong!
  • youtube.com
  • Location: Portland
  • Date Registered: Mar 2009
  • Posts: 4731

Yep, your overall score is based only on your top ten species.  

Here's the code to prove it.

Code: [Select]
SELECT id as user_id, users.login, Q1.Score from users left join (SELECT user_id, login, sum(maxspscore)
 as score FROM (SELECT t1.user_id, t1.login, t1.speciesname, t1.maxspscore, COUNT(*) AS lowerscore FROM
(SELECT users.id as user_id, users.login, targets.speciesname, Max(length*targets.points) AS maxspscore FROM
users INNER JOIN (targets INNER JOIN catches ON targets.id = catches.target_id) ON users.id = catches.user_id
WHERE (catches.date >= users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-
01-01') GROUP BY users.login, targets.speciesname) AS t1 JOIN (SELECT users.id as user_id, users.login,
targets.speciesname, Max(length*targets.points) AS maxspscore FROM users INNER JOIN (targets INNER JOIN
catches ON targets.id = catches.target_id) ON users.id = catches.user_id WHERE  (catches.date >=
users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-01-01') GROUP BY
users.login, targets.speciesname) AS t2 ON t1.user_id = t2.user_id AND t1.maxspscore <= t2.maxspscore
GROUP BY t1.user_id, t1.maxspscore HAVING lowerscore <=10) AS Table1 GROUP BY user_id order by score
DESC) as Q1 ON users.id = Q1.user_id where date_paid >='2010-01-01' order by Q1.score DESC, users.login;

Looks good to me, I'm convinced!  ;)
                
2011 Angler Of The Year
1st Place 2011 PDX Bass Yakin' Classic
"Fishing relaxes me.  It's like yoga except I still get to kill something."  - Ron Swanson


Spot

  • Administrator
  • Sturgeon
  • *****
  • Cabby Strong!
  • Location: Hillsboro
  • Date Registered: Jul 2007
  • Posts: 5959
Here's the code to prove it.

Code: [Select]
SELECT id as user_id, users.login, Q1.Score from users left join (SELECT user_id, login, sum(maxspscore)
 as score FROM (SELECT t1.user_id, t1.login, t1.speciesname, t1.maxspscore, COUNT(*) AS lowerscore FROM
(SELECT users.id as user_id, users.login, targets.speciesname, Max(length*targets.points) AS maxspscore FROM
users INNER JOIN (targets INNER JOIN catches ON targets.id = catches.target_id) ON users.id = catches.user_id
WHERE (catches.date >= users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-
01-01') GROUP BY users.login, targets.speciesname) AS t1 JOIN (SELECT users.id as user_id, users.login,
targets.speciesname, Max(length*targets.points) AS maxspscore FROM users INNER JOIN (targets INNER JOIN
catches ON targets.id = catches.target_id) ON users.id = catches.user_id WHERE  (catches.date >=
users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-01-01') GROUP BY
users.login, targets.speciesname) AS t2 ON t1.user_id = t2.user_id AND t1.maxspscore <= t2.maxspscore
GROUP BY t1.user_id, t1.maxspscore HAVING lowerscore <=10) AS Table1 GROUP BY user_id order by score
DESC) as Q1 ON users.id = Q1.user_id where date_paid >='2010-01-01' order by Q1.score DESC, users.login;

So, ummm, where's the code for latest entries and looking at people's uploaded images?   ;)
Twenty years from now you will be more disappointed by the things you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.  --Mark Twain

Sponsors and Supporters:
Team Daiwa        Next Adventure       Kokatat Immersion Gear

Tournament Results:
2008 AOTY 1st   2008 ORC 1st  2009 AOTY 1st  2009 NA Sturgeon Derby 1st  2012 Salmon Slayride 3rd  2013 ORC 3rd  2013 NA Sturgeon Derby 2nd  2016 NA Chinook Showdown 3rd  2020 BCS 2nd   2022 BCS 1st


bsteves

  • Fish Nerd
  • Administrator
  • Sturgeon
  • *****
  • Better fishing through science
  • Location: Portland, OR
  • Date Registered: Feb 2007
  • Posts: 4584
Yeah,  I need to spend a couple hours tweeking things for NWKA.  The upgrade didn't go as smoothly as I hoped.  As soon as I find time. 
“People say nothing is impossible, but I do nothing every day.”

― A.A. Milne, Winnie-the-Pooh


steelheadr

  • Participant in life...not spectator
  • Sturgeon
  • *******
  • Pay no attention to the man in the hat.
  • Peterberger Adventures
  • Location: obviously not fishing...
  • Date Registered: Jul 2007
  • Posts: 1865
I am curious, As the tournament progresses will the AOTY program just have the highest point total, of all fish entered, as the leader or will it determine the "actual" leader based on the highest 10 fish average?  

Good question. I hope it shows the actual leader based on that person's top 10 scoring fish.



Yep, your overall score is based only on your top ten species.  

Here's the code to prove it.

Code: [Select]
SELECT id as user_id, users.login, Q1.Score from users left join (SELECT user_id, login, sum(maxspscore)
 as score FROM (SELECT t1.user_id, t1.login, t1.speciesname, t1.maxspscore, COUNT(*) AS lowerscore FROM
(SELECT users.id as user_id, users.login, targets.speciesname, Max(length*targets.points) AS maxspscore FROM
users INNER JOIN (targets INNER JOIN catches ON targets.id = catches.target_id) ON users.id = catches.user_id
WHERE (catches.date >= users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-
01-01') GROUP BY users.login, targets.speciesname) AS t1 JOIN (SELECT users.id as user_id, users.login,
targets.speciesname, Max(length*targets.points) AS maxspscore FROM users INNER JOIN (targets INNER JOIN
catches ON targets.id = catches.target_id) ON users.id = catches.user_id WHERE  (catches.date >=
users.date_paid) AND (catches.date >= '2010-01-01') and (users.date_paid >= '2010-01-01') GROUP BY
users.login, targets.speciesname) AS t2 ON t1.user_id = t2.user_id AND t1.maxspscore <= t2.maxspscore
GROUP BY t1.user_id, t1.maxspscore HAVING lowerscore <=10) AS Table1 GROUP BY user_id order by score
DESC) as Q1 ON users.id = Q1.user_id where date_paid >='2010-01-01' order by Q1.score DESC, users.login;

Curious how I add a small upgrade and my total decreased? I'm not too sure about that code...  ;D
"Fast enough to get there...but slow enough to see. Not known for predictability"  Thanks to Jimmy Buffet for describing my life...again



INSAYN

  • ORC_Safety
  • Sturgeon
  • *
  • **RIP...Ron, Ro, AMB, Stephen**
  • Location: Forest Grove, OR
  • Date Registered: Aug 2008
  • Posts: 5417
Nope, that's right Jay.  Keep adding fish, and watch your points move over to mine.   ;D
 

"If I was ever stranded on a beach with only hand lotion...You're the guy I'd want with me!"   Polyangler, 2/27/15


Spot

  • Administrator
  • Sturgeon
  • *****
  • Cabby Strong!
  • Location: Hillsboro
  • Date Registered: Jul 2007
  • Posts: 5959

Curious how I add a small upgrade and my total decreased? I'm not too sure about that code...  ;D

It's a feature Jay.  You'll learn to love it.   >:D

Actually, there's a faulty screen in the code.  When someone enters two fish that equal the same number of points on a given day, the software automatically drops one of the entries.  It bit me earlier this year when my SMB equaled my Chinook (thus the funky precision on my 1st SMB).
Brian mentioned it earlier in the year.  At the time neither one of us thought it was a likely scenario.  I guess this goes to prove that us Oregon yakfishers are a fish catching anamoly.

-Spot-
Twenty years from now you will be more disappointed by the things you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore. Dream. Discover.  --Mark Twain

Sponsors and Supporters:
Team Daiwa        Next Adventure       Kokatat Immersion Gear

Tournament Results:
2008 AOTY 1st   2008 ORC 1st  2009 AOTY 1st  2009 NA Sturgeon Derby 1st  2012 Salmon Slayride 3rd  2013 ORC 3rd  2013 NA Sturgeon Derby 2nd  2016 NA Chinook Showdown 3rd  2020 BCS 2nd   2022 BCS 1st


steelheadr

  • Participant in life...not spectator
  • Sturgeon
  • *******
  • Pay no attention to the man in the hat.
  • Peterberger Adventures
  • Location: obviously not fishing...
  • Date Registered: Jul 2007
  • Posts: 1865

Curious how I add a small upgrade and my total decreased? I'm not too sure about that code...  ;D

It's a feature Jay.  You'll learn to love it.   >:D

Actually, there's a faulty screen in the code.  When someone enters two fish that equal the same number of points on a given day, the software automatically drops one of the entries.  It bit me earlier this year when my SMB equaled my Chinook (thus the funky precision on my 1st SMB).
Brian mentioned it earlier in the year.  At the time neither one of us thought it was a likely scenario.  I guess this goes to prove that us Oregon yakfishers are a fish catching anamoly.

-Spot-

I'm just a seasick anomaly. Yesterday made it 3/3 this year. I haven't actually hurled but got so weak and green that it was an effort to get back in. It takes all the fun out of it. Not to mention limits effective fishing time to 1-2 hours.  >:(  I'm going to give in and medicate again. At least that keeps me out there.

The upgrade ling was only 1.25" bigger so it's not a lot of points but going backwards? That how my fishing felt yesterday so I guess it fits... :o
"Fast enough to get there...but slow enough to see. Not known for predictability"  Thanks to Jimmy Buffet for describing my life...again



steelheadr

  • Participant in life...not spectator
  • Sturgeon
  • *******
  • Pay no attention to the man in the hat.
  • Peterberger Adventures
  • Location: obviously not fishing...
  • Date Registered: Jul 2007
  • Posts: 1865
It turns out that the point value for the upgraded ling was the same as a previous entry from a previous day so it subtracted it rather than change the larger fish for the smaller fish. I used Spot's laser measurement system, updated the length in AOTY and that solved the problem...
« Last Edit: May 31, 2010, 02:08:01 PM by steelheadr »
"Fast enough to get there...but slow enough to see. Not known for predictability"  Thanks to Jimmy Buffet for describing my life...again



 

anything