as I said, I cannot use query like this, because it is not table, it's dynamically generated pivot table, to column names are generated dynamically, like this
[https://dba.stackexchange.com/questions/27659/mysql-single-table-static-and-dynamic-pivot/27669#27669](https://dba.stackexchange.com/questions/27659/mysql-single-table-static-and-dynamic-pivot/27669#27669)
