Query (PPQL) — historical_cbb_games
New here? That's just a sample query so you have something to look at — type over it, or use the plain-English box above instead.
Typing after
team=, opponent=, conference=, opponentconference=, tournament=, lineprovider=, or gametype= pops up matching values — click one, or arrow-key + Enter/Tab to pick it, so you never have to remember the exact spelling.Run a query to see available columns.
Saved queries
Result significance
Run a query above to see its record, ROI/profit, and per-game averages here.
Record after a loss — how the system does on the very next game, immediately following one of its own losses
—
—
—
Matching rows
Field reference
Browse all fields, live from the server, plus shortcuts — click any field to insert it
Loading field list…
Numeric field stats ?
Count / sum / mean / median / std / variance / quartiles / min / max for every numeric field
| Field | Count | Sum | Mean | Median | Std | Variance | Q1 (25%) | Q3 (75%) | Min | Max |
|---|
Numeric field stats — what each column means
Count
How many rows in this result set had a real (non-null) value for this field. Rows missing the field aren't counted.
Sum
Every value for this field, added together.
Mean
The average — Sum divided by Count.
Median
The middle value once everything is sorted low to high. Less thrown off by a few extreme outliers than Mean is.
Std (standard deviation)
How spread out the values are around the Mean. A small Std means most values sit close to the Mean; a large one means they're scattered.
Variance
Std squared — same idea, just in squared units. Std is usually the easier of the two to read.
Q1 (25%) / Q3 (75%)
Quartiles: 25% of values fall below Q1, and 75% fall below Q3. Together with the Median (the 50% mark) they show how the data is distributed, not just its average.
Min / Max
The smallest and largest value seen for this field in the result set.
Only want certain fields? Type into the
Filter fields box above the table — e.g. type fg3 to instantly narrow this list down to just passing-related fields.Query syntax & examples
Operators, ranges, prefixes (tpS, p:/n:/o:), shortcut fields (PPG, 3DPCT...), and field coverage notes
Combine with
Team names are the school names as stored (type after
Rankings:
Schedule spots:
Four Factors (season averages):
Season lookback:
Previous/next games:
Season-to-date entering the game:
Halves:
Group by any field right in the query with
Box-score and advanced stats are filled in where the data source provides them (broadest from about 2005 on); anything not tracked for a season is simply empty for that season.
Use the grouping dropdown to break the record out by season/team/etc. Click a breakdown row to drill into its games.
and / or. Ranges: 9.5>=line>=3.5. Set membership: conference in ['ACC','Big 12','SEC'].Team names are the school names as stored (type after
team= to autocomplete). team is always a Division I program; its opponent may be a non-D1 school — use D1VD1 to keep only D1-vs-D1 games.line is from THIS team's side: negative = favored, positive = underdog. total is the game total. atsmargin > 0 = covered; oumargin > 0 = went over. Betting lines start with the 2012-13 season; earlier seasons have box scores only.season is the season's STARTING year (2019 = the 2019-20 season). seasontype is 'regular' or 'postseason'; tournament names conference/NCAA/NIT events — use REG / POST for the common cases.Rankings:
rank / opponentrank = AP Top 25 rank entering the game (blank if unranked); RANKED / UNRANKED shortcuts. Example: A and RANKED and o:UNRANKED and line>0 = ranked road underdogs against unranked teams.Schedule spots:
rest = days since the team's previous game (0 = back-to-back), B2B, LAYOFF (6+ days), gameslast7 = games in the previous 7 days. Example: B2B and A and line<=-5.Four Factors (season averages):
EFG, TOVPCT, ORBPCT, FTR and the defensive mirrors OPPEFG, OPPTOVPCT, DRBPCT, OPPFTR. Example: EFG>=54 and OPPEFG<=48. For a single game's value use the field (efgpct, tovpct, orebpct, ftrate).Season lookback:
tpS(field) / tpA(field) = SUM / AVERAGE over the team's previous season, tppS/tppA = two seasons back, tpMAX/tpMIN = max/min.Previous/next games:
p:/pp:/p3: (back) and n:/nn: (forward) — e.g. p:W and pp:W and A. Head-to-head: P:/N:. Opponent's side of the same game: o: — e.g. o:points>=80. Opponent's own games: op:, on:.H/A/N/W/L = home/away/neutral/win/loss and work bare at the top level, e.g. conference='ACC' and H and W.Season-to-date entering the game:
SUW/SUL/ATSW/ATSL/OVERS/UNDERS and SUPCT/ATSPCT/OVERPCT.Halves:
H1/H2 (points by half), OT5 (overtime points). Example: H1>=40 and A.Group by any field right in the query with
@field — e.g. season>=2015 and POST @team.Box-score and advanced stats are filled in where the data source provides them (broadest from about 2005 on); anything not tracked for a season is simply empty for that season.
Use the grouping dropdown to break the record out by season/team/etc. Click a breakdown row to drill into its games.