Adding a generated column with group by and count in postgresql
I have table which has store number and Fruits in it like below Store Number fruit 111 Apple 121 Orange 111 Pinable 132 Apple 145 Grapes 121 Apple 111 Apple I want to to add a generated column "Number of…