Design query Q4
✅ Find ids and names of all shopping carts that belong to user jen
; order by cart name (asc):
Solution
SELECT user_id, cart_name,
cart_id, cart_is_active
FROM carts_by_user
WHERE user_id = 'jen';
✅ Find ids and names of all shopping carts that belong to user jen
; order by cart name (asc):
SELECT user_id, cart_name,
cart_id, cart_is_active
FROM carts_by_user
WHERE user_id = 'jen';