Basic Query StructureThe basic query structure is a comma delimted list of fields, an `@` sign, followed by an `and` and/or `or` delimited list of conditions.
Here are a few examples:
to get the date and points scored
by the Colts in the 2006 season use the SDQL:
date, points @ team=Colts and season=2006
to get the date, points, field goals made and
field goals attempted for Bulls home games in 2002 use the SDQL:
date, points, field goals made, field goals attempted @ team=Bulls and site=home and season=2002
to get the date, team, starter, and the number of innings the starter went for
all games in the 2007 MLB post season use the SDQL:
date, team, starter, starter innings pitched @ season=2007 and playoffs=1
Many popular sites such as SportsDataBase.com and KillerSports.com provide default fields. For these sites if you provide only a condition (with no `@` sign) then one of two standard outputs is generated: a singleton query provides a detailed game listing; a grouped query returns summary stats for each group.