Implements SQL data source