sqlite - combine same field in 2 rows into 2 columns based on field value

后端 未结 0 1884
后悔当初
后悔当初 2021-02-01 09:26

I have a sqlite table with data similar to the following:

 id | flag
----+-----
  1 |  0
  2 |  0
  3 |  1
  4 |  0
  5 |  1
  6 |  0
  7  | 1

I\

相关标签:
回答
  • 消灭零回复
提交回复
热议问题