SELECT item.item_id, ANY_VALUE(uses.tag) tag,
COUNT(*) number_of_uses
FROM item
JOIN uses ON item.item_id, uses.item_id
GROUP BY item.item_id
shows the rows in a table called item, the count of related rows, and one of the values in the related table called uses.
You can th...