Best way to limit number of relational rows based on integer column in another table in Postgres

后端 未结 0 451
滥情空心
滥情空心 2020-12-04 13:18

I have a table for subscription plans that holds the number of license "seats" for that subscription e.g. CREATE TABLE plan (plan_id BIGSERIAL PRIMARY KEY, s

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