24.9k views
3 votes
In order to find products in the Product table that have never been ordered in the Orders table, a database administrator can create a(n) ____ query.

1 Answer

3 votes

Final answer:

To find products in the Product table that have never been ordered, a database administrator can create a SQL query using the LEFT JOIN.

Step-by-step explanation:

In order to find products in the Product table that have never been ordered in the Orders table, a database administrator can create a(n) SQL query. One way to achieve this is by using a LEFT JOIN query. This query will match all the rows from the Product table with the Orders table, and will return NULL values for the rows where there is no match, indicating that those products have never been ordered.

User CroMagnon
by
8.3k points