A sql executor