Skip to content

Commit e421463

Browse files
committed
Time: 588 ms (90.33%), Space: 0B (100%) - LeetHub
1 parent fee7206 commit e421463

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Write your MySQL query statement below
2+
SELECT product_id , 'store1' AS store, store1 AS price FROM Products WHERE store1 UNION ALL
3+
SELECT product_id , 'store2' AS store, store2 AS price FROM Products WHERE store2 UNION ALL
4+
SELECT product_id , 'store3' AS store, store3 AS price FROM Products WHERE store3

0 commit comments

Comments
 (0)