> Can anyone write query to get this desired output from table one in Postgres please.
some links ; maybe useful :
keywords: crosstab, tablefunc,
Best,
Imre
Firthouse banu <penguinsfairy@xxxxxxxxx> ezt írta (időpont: 2021. júl. 17., Szo, 9:25):
Table1Name FruitA MangoA AppleA GrapeB. MangoB. MangoA. MangoA. AppleOutputName. Mango Apple GrapeA. 2. 2. 1B. 2. 0. 0Can anyone write query to get this desired output from table one in Postgres please.TIA