This SQL query defines a table containing an XML document with a <Root> element containing a single <Foo> element with text "Baa". It then performs an XMLTABLE operation to extract the name and value of each element under <Root> as columns, returning a single row with NAME="Foo" and VALUE="Baa".
This SQL query defines a table containing an XML document with a <Root> element containing a single <Foo> element with text "Baa". It then performs an XMLTABLE operation to extract the name and value of each element under <Root> as columns, returning a single row with NAME="Foo" and VALUE="Baa".
This SQL query defines a table containing an XML document with a <Root> element containing a single <Foo> element with text "Baa". It then performs an XMLTABLE operation to extract the name and value of each element under <Root> as columns, returning a single row with NAME="Foo" and VALUE="Baa".