- added get sql statement and values to Query class