added SQL to task