Initial API for SQL service