Split Db->sql() to multiple methods