Note: This site will be discontinued as of September 1, 2021.
SDQL3 access will continue with user input data at

Winning picks from SDQL masters.
S p o r t s D a t a b a s e . c o m
tools for the objective handicapper


NFL Sport Data Query Language Access. SDB Home     NFL Trends     NFL Query

team = Patriots and season = 2017
date 1 * A(points@1)
20170907 27.0
20170917 31.5
20170924 33.0
20171001 32.25
20171005 29.6
20171015 28.6666666667
20171022 27.8571428571
20171029 27.0
20171112 28.5555555556
20171119 29.0
20171126 29.5454545455
20171203 29.0
20171211 28.3076923077
20171217 28.2142857143
20171224 28.8
20171231 28.625
20180113 29.0
20180121 28.7222222222
20180204 28.9473684211

Game Parameters: RSWL, ats margin, ats streak, attendance, average net punt yards, average punt yards, biggest lead, blocked extra points, blocked field goals, blocked punts, close line, close total, coach, completions, conference, date, day, division, dpa, dps, drives, field goals, field goals attempted, first downs, fourth downs attempted, fourth downs made, fumble return touchdowns, fumble return yards, fumbles, fumbles lost, game number, goal to go attempted, goal to go made, head coach, interception return yards, interception returns, interception touchdowns, interceptions, kicking extra points, kicking extra points attempted, kickoff return touchdowns, kickoff return yards, kickoff returns, kickoffs, kickoffs for touchback, kickoffs in end zone, lead changes, line, losses, margin, margin after the first, margin after the third, margin at the half, matchup losses, matchup wins, money line, month, open line, open total, opponents, ou margin, ou streak, overtime, passes, passing first downs, passing touchdowns, passing yards, penalties, penalty first downs, penalty yards, playoffs, plays, points, punt return touchdowns, punt return yards, punt returns, punts, quarter scores, red zones attempted, red zones made, regular season wins line, rest, return yards, rot, rushes, rushes for a loss, rushing first downs, rushing touchdowns, rushing yards, rushing yards lost, sack yards, sacks, safeties, scored first, season, site, site streak, snf, start time, streak, surface, team, temperature, third downs attempted, third downs made, time of possession, time zone, times tied, total, touchdowns, turnover margin, turnovers, two point conversion attempts, two point conversions, two point conversions attempted, week, wins

Kickoff Returns Parameters: average kickoff return, average kickoff return yards, kickoff return touchdowns, kickoff returns, longest kickoff return, name

Kicking Parameters: field goals, field goals attempted, kicking extra points, kicking extra points attempted, longest field goal, name

Fumbles Parameters: fumble yards, fumbles, fumbles lost, fumbles recovered, name

Passing Parameters: completions, interceptions thrown, name, passes, passing conversions, passing touchdowns, passing yards

Rushing Parameters: fumbles, fumbles lost, longest rush, name, rushes, rushing conversions, rushing touchdowns, rushing yards

Defense Parameters: defensive two point conversion, forced fumble, forced fumbles, fumble return touchdowns, fumble return yards, interception return touchdowns, interceptions, name, sacks, safeties, tackle assists, tackles

Punting Parameters: average punt yards, longest punt, name, punts, punts inside the twenty

Punt Returns Parameters: average punt return, average punt return yards, longest punt return, name, punt return touchdowns, punt returns

Receiving Parameters: longest reception, name, receiving conversions, receiving touchdowns, receiving yards, receptions, targets

How to Query:

For access to the NFL game-level database use the syntax: game reference:parameter.
Where game game references are any combination of t, o, p, P, n and N (for team, opponent, previous game, previous matchup, next game and next matchup respectively). Here are a few examples:
To see how teams do when rushing for more than 100 yards while holding their opponent to few than 100 yars use the SDQL: 100 < t:rushing yards and to:rushing yards < 100
To see how teams do after scoring more than 40 points their last four games use the SDQL: 40 < p:points and 40 < p2:points and 40 < p3:points and 40 < p4:points
To see how teams do after their opponent passed for more than 400 yards and lost use the SDQL: 400 < top:passing yards and top:points < topo:points
To see how teams do when they have a season-to-date average of less that 50 rushing yards use the SDQL: tA(rushing yards) < 50

To access an individual player's performance use the syntax: [Team:]Player Name:game reference:parameter.
Where the specification of the team is optional and the name can be abbreviated.
To see how the Packers do after Aaron Rodgers throws more than 40 passes use the SDQL: 40 < Packers:AR:p:passes
To see how teams do when LeSean has more than 20 rushes use the SDQL: 20 < LeSean:rushes

For data visualization queries, you need to specify the parameters to plot as well as the restrictive conditions.

Scatter Plots require the SDQL syntax: x, y @ conditions. For example:
To plot the opponent's points vs the team's points for all Bears games in 2013 use the SDQL: t:points as Points, o:points as Opponent Points @ t:team=Bears and season=2013

Histograms require the SDQL syntax: x @ conditions. For example :
To plot the distribution of points for all NFL games this century use the SDQL: t:points as Points @ 2000 <= season
To color this histogram by site, use the SDQL: t:points as Points @ 2000 <= season and site

Box Plots require the SDQL syntax: x @ groups . For example :
See the points scored by each NFL team in 2013 use the SDQL: points @ team and season=2013
e-mail links:   
Content for this site is generated using the Sports Data Query Language (SDQL).