Skip to content
DatabaseBought together
SQL

Bought together

Find the 3 pairs of products that most often appear in the same order: two product numbers (the smaller on the left) and the number of orders they share. Sort by that number, largest first, then by the product numbers.

The order of the rows is part of the answer.

Database

My submissions