Support multiple records in response

Also makes the example work with the default demo database.