限制年龄在什么之间的检查约束表达式如何写?

忘了,请赐教...
2026年09月27日 09:18
有2个网友回答
网友(1):

create table t(age smallint constraint chk_t check(age>18 and age<80))

网友(2):

1楼正解!