sql: add testdata file for ORM queries
sql: add testdata file for ORM queries

Including a test for #12151.

paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach,paperstreet/cockroach