Keep SQLtest alive: Help cover this month's $100 server costs to keep all lessons and the SQL playground online. Support the project →
SQL code copied to buffer
Task 27:

Most Frequent Co-Purchase

SQL Server 2022
Identify the product most frequently purchased with Front Brakes within the same sales order.

The result should be a table with a single column Name containing the product most frequently purchased together.
Expected result Columns: 1 · Rows: 1
Name

Write your query below and click "Check it!". Tables are described in the right pane.

The query result will appear here. Ctrl+Enter - Run query