S p o r t s D a t a B a s e . c o m
a sports data query language (SDQL ©) consultancy

Permission is given to quote trends found on SportsDataBase.com provided that a reference and a link to SportsDataBase.com is provided. E.g.: Trend found on SportsDataBase.com


Information you need to win
NCAA Football Query


team= 'WYO' and site=home and tp:points<po:points and tp:season=season and tp:site=away and 20061104<=date
SU: 4-5-0 (-12.7)
ATS: 2-7-0 (-10.0) avg line: 2.7
O/U: 7-2-0 (6.1) avg total: 45.2
DateDay#SeasonTeamOppSiteFinalRestLineTotalSUmATSmSUrATSrOUrConfTypeConf.OT
Nov 04, 2006 SAT 10 2006 WYO SDST H 27-24 6 -14' 39' 3 -11' W L O 1 RS MWC 0
Oct 27, 2007 SAT 8 2007 WYO UNLV H 29-24 6 -10' 42 5 -5' W L O 1 RS MWC 0
Nov 17, 2007 SAT 11 2007 WYO BYU H 10-35 6 +11 45' -25 -14 L L U 1 RS MWC 0
Sep 27, 2008 SAT 5 2008 WYO BOWL H 16-45 6 +3 45 -29 -26 L L O 0 RS MWC 0
Oct 11, 2008 SAT 7 2008 WYO UTAH H 7-40 6 +23' 46' -33 -9' L L O 1 RS MWC 0
Nov 01, 2008 SAT 9 2008 WYO SDST H 35-10 6 -6 46 25 +19 W W U 1 RS MWC 0
Nov 22, 2008 SAT 12 2008 WYO COST H 20-31 8 0 46' -11 -11 L L O 1 RS MWC 0
Sep 26, 2009 SAT 4 2009 WYO UNLV H 30-27 6 +3' 47 3 +6' W W O 1 RS MWC 0
Nov 07, 2009 SAT 9 2009 WYO BYU H 0-52 6 +14 49 -52 -38 L L O 1 RS MWC 0
Query Fundamentals:

A query consists of one or more clauses joined by and or or.
The full format for reference to the NCAA Football SportsDataBase is game reference:parameter.

The simplest game reference is 'p' which stands for previous game. Also useful is 'o' which stands for opponent. You can combine any number of 'p's and 'o's. If a game reference is not given then the results for the current game are checked.

See below for the current list of parameters and examples.

Examples:

The query:
team and site=home
returns the results of home games for each


p:points<10 and pp:points<10
returns games after a team scored fewer than 10 points the past two games.

If no game reference is given then results for the current game are checked.
points<10
returns games in which teams scored fewer than 10 points.

If no conditional is imposed then the results are grouped by the reference.
p:points
returns games grouped by all occurrences of previous points.

Multiple conditions can be imposed using a comma delimited format.
p:points<7,10,14
gives results grouped by previous points < 7, previous points < 10, and previous points < 14.

Game Reference:

p => team's previous game
op => opp's previous game
P => previous match up
n => team's next game
on => opp's next game
N => next match up

Examples:

The query:
site=home and P:points<10 and PP:points<10
returns home games where team scored fewer than 10 point the past two head-to-head match ups

Parameters: (point your mouse on a parameter for additional information)

Prest, ats margin, conference, date, day, division, full name, game number, game type, line, losses, margin, opponents, ou margin, overtime, points, rest, season, site, team, total, wins

Short Cuts

H,A,W,L,F,D are allowed short cuts for home,away,win,loss,favorite, and dog.

Examples:

The query:
p:WD and pp:WD and HF
returns home favorites after they won their last two as dogs.

e-mail links:   Content@SportsDataBase.com    Support@SportsDataBase.com   
Content for this is generated using the Sports Data Query Language (SDQL).
Google Groups
Subscribe to SportsDataBase
Email:
Visit this group