PP
Predictive Playbook Database
Historical — College Basketball
Saved Queries Results Matching Rows Field Reference Numeric Field Stats Query Syntax & Examples

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
FieldCountSumMeanMedianStdVarianceQ1 (25%)Q3 (75%)MinMax

Query syntax & examples

Operators, ranges, prefixes (tpS, p:/n:/o:), shortcut fields (PPG, 3DPCT...), and field coverage notes
Combine with 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.