Typical task on STRING_AGG. **Condition:** For each product, collect all tags into one string separated by comma, sorted alphabetically. **Table:** product_tags (product_id, tag) **Requirements:** 1. Combine tags into a string with ', ' 2. Tags should be sorted alphabetically 3. Join to product data (name, price) **Hint:** STRING_AGG(tag, ', ' ORDER BY tag)
Sign in to solve
Start Solving