Information you need to win
S p o r t s D a t a B a s e . c o m
agile access to sports data

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


name
password


NHL Sport Data Query Language Access SDB Home    NHL Trends    NHL Query
H and p:margin = -1 and op:H and op:goals >= 3 and opo:goals >= 3 and 114 > line > 100
SU: 2-4 (-0.83, 33.3%)   avg line: 108.0
O/U: 4-2-0 (0.58, 66.7%)   avg total: 5.6
SoG Pens P-Mins P1 P2 P3 Final
Team 28.8 5.5 14.5 1.3 0.8 0.5 2.7
Opp 32.8 6.8 18.5 0.7 1.3 1.3 3.5
Date Day Season Team Opp Site P1 P2 P3 Final Line Total SUm SUr OUr ot
Feb 17, 2007 Saturday 2006 Islanders Devils home 0-1 0-1 0-0 0-2 106 5 -2 L U
Mar 20, 2007 Tuesday 2006 Flyers Panthers home 0-0 1-2 0-2 1-4 108 6 -3 L U
Oct 19, 2007 Friday 2007 Blackhawks Avalanche home 3-0 0-1 2-2 5-3 110 5' 2 W O
Jan 19, 2008 Saturday 2007 Islanders Flyers home 3-1 0-2 0-2 3-5 108 5' -2 L O
Feb 19, 2009 Thursday 2008 Maple Leafs Blue Jackets home 1-1 2-1 0-1 3-4 105 6 -1 L O 1
Feb 09, 2012 Thursday 2011 Senators Predators home 1-1 2-1 1-1 4-3 111 5' 1 W O

Game Parameters: abbreviation, attendance, city, close line, close total, date, day, faceoffs won, full name, game number, gid, goals, line, linesmen, losses, margin, matchup losses, matchup wins, month, open line, open total, opponents, ou streak, overtime, penalties, penalty minutes, percent bets, percent over bets, percent under bets, period scores, playoffs, referees, rest, season, shoot out, shots on goal, site, site streak, start time, streak, team, total, wins

Player Parameters: assists, faceoffs lost, faceoffs won, goals, minutes, minutes even, minutes power play, minutes short handed, name, number, penalty minutes, plus minus, points, position, power play goals, shifts, short handed goals, shots on goal


How to Query:

The basic SDQL syntax is: fields @ conditions .

fields is a comma delimited list of one or more sql-like `select` terms.These can be built out of database parameters, constants, and python functions.

conditions is a conjunction (`and` / `or`) delimited list of one or more sql-like `where` terms.As with fields, each condition can be built out of database parameters, constants, and python functions.

The full SDQL query for average margin for each team is:A(margin) @ team
e-mail links:   Content@SportsDataBase.com    Support@SportsDataBase.com   
Content for this site is generated using the Sports Data Query Language (SDQL).