Distinguish single row from zero-or-single row.
Provide statement kind, target table, and cardinalities in XML.