This technical problem deals with how to query XML data in SQL in order to return it in a tabular format.
Given an XML document, write a SQL query to find all the nodes with a given attribute value.
Given a table of products and their prices, write a SQL query to find the products with the highest price per unit.
Write a SQL query to find all pairs of distinct values in two columns.
This technical problem involves writing a SQL query to find the average price of all products in a database. An example product table is provided, and the expected output is the average price of all products in the table.
This technical problem deals with counting XML tags in a document. A SQL query is provided that returns the number of XML tags of each type in a given XML document.
To get customers who have made a purchase in the last 30 days, write a SQL query that returns all customers with a purchase_date within the last 30 days.
This technical problem deals with returning the value of an XPath expression from an XML document using a SQL query.