PostgreSQL - How to add a new column with a default conditioning on another column?

前端 未结 0 1043
甜味超标
甜味超标 2021-01-07 10:12

I have a table like this

Table 1:

Code
 1
 2
 3
 4
 1
 2

I want to add a new column conditioning on the column code.

1          


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