Does MariaDb ColumnStore supports PIVOT

Does the MariaDb ColumnStore engine supports PIVOT?

Answer Answered by Roman Nozdrin in this comment.

Hi,

Both MariaDB and MCS don't support PIVOT clause as it is in SQL Server. However you can pivot the data using CASE as it is described by Markus Winand here [1].

Regards, Roman

1. https://modern-sql.com/use-case/pivot

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.