Skip to content

Commit 78a2d93

Browse files
authored
Update find-product-recommendation-pairs.sql
1 parent 3963167 commit 78a2d93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

MySQL/find-product-recommendation-pairs.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33

44
WITH purchase_info_cte AS (
55
SELECT p.user_id, p.product_id, i.category
6-
FROM ProductPurchases p
7-
INNER JOIN ProductInfo i ON p.product_id = i.product_id
6+
FROM ProductPurchases p INNER JOIN ProductInfo i ON p.product_id = i.product_id
87
)
98

109
SELECT a.product_id AS product1_id,

0 commit comments

Comments
 (0)