After inserting few XML records in ML8, I was able to query them using XQuery through Query Console..
Lets say following XML's are there:

Say one XML contains data like:
<?xml version="1.0" encoding="UTF-8"?>
<Providers>
<Provider>
<ProviderId>1111</ProviderId>
<Name>John Doe</Name>
<Age>40</Age>
<Country>MN</Country>
</Provider>
<Provider>
<ProviderId>2222</ProviderId>
<Name>Jane Doe</Name>
<Age>42</Age>
<Country>MS</Country>
</Provider>
</Providers>
There is an option to use SQL in query manager, can that be used here to run queries or some configurations are needed so that SQL can be used directly. If yes, any example will be very helpful.