从以日期为列的表中选择某些列

I have a table where column names are like years "2020-05","2020-06", "2020-07" etc and so many years as columns.I need to select only the current month, next month and third month columns alone from this table.(DB : PostgreSQL Version 11)

But since the column names are "TEXT" are in the format YYYY-MM , How can I select only the current month and future 2 months from this table without hard-coding the column names.

Below is the table structure , Name : static_data enter image description here

所需的select语句是这样的,该表包含上面屏幕截图中的14个月数据,例如DATES列。从这开始,我想要当前月和接下来的2个月列以及它们的数据,如下所示。

从静态中选择“ 2020-05”,“ 2020-06”,“ 2020-07” -选择本月和接下来的2个月 要求的输出:

enter image description here