Group By The Result Of A Function Call
select category, count(*)
from products
group by category;select substring(identifier from 1 for 3), count(*)
from products
group by substring(identifier from 1 for 3);Last updated
select category, count(*)
from products
group by category;select substring(identifier from 1 for 3), count(*)
from products
group by substring(identifier from 1 for 3);Last updated