let me make an example
consider a database with over one million of records, i.e. all nba
boxscores since 1940-something
consider just a few fields, i.e.
playerID, gameID, date, points, rebounds
records are sorted by gameID
I apply a couple of filters, i.e. points >= 30 and rebounds >=20
how would you make a query to get the "streaks" of consecutive games
for one player that fit the filters?
How can I check if between two filtered records there is at least one that doesn't match the criteria and breaks the streak?
does anyone of you work for Elias Sports Bureau? ;) :P
or for www.basketball-references.com ...
let me make an example
consider a database with over one million of records, i.e. all nba
boxscores since 1940-something
consider just a few fields, i.e.
playerID, gameID, date, points, rebounds
records are sorted by gameID
I apply a couple of filters, i.e. points >= 30 and rebounds >=20
how would you make a query to get the "streaks" of consecutive games
for one player that fit the filters?
How can I check if between two filtered records there is at least one that doesn't match the criteria and breaks the streak?
how would you make a query to get the "streaks" of consecutive games
for one player that fit the filters?
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 63 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 492975:37:49 |
| Calls: | 840 |
| Files: | 1,301 |
| D/L today: |
16 files (28,385K bytes) |
| Messages: | 264,959 |