Spread the love

The Sports Data Query Language is built in Python and strives for that same terse power.

The SQL has many responsibilities and many commands such as UPDATE, SELECT,  INSERT.

The SDQL is only concerned with data access and avoids commands.

An SDQL query consists of one or more comma separated fields, followed by the @ symbol, followed by a set of conditions.

Here is a yaccish way of representing an SDQL query: field[,field]*@condition[ and condition]*

To make a histogram of points scored on all games in 2013 use the SDQL: points@season=2013


Leave a Reply

Your email address will not be published. Required fields are marked *