Libraries anvil sql Statement query

ResultSet query()
Executes the SQL query in this Statement object and returns the result set generated by the query.
Returns ResultSet
Throws SQLError -  if an error occured