Added a select(sql) method