mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-05-11 13:21:30 +03:00
5 lines
129 B
SQL
5 lines
129 B
SQL
-- Named check constraint
|
|
CREATE TABLE STAFFz
|
|
( EMPNUM CHAR(3),
|
|
SALARY DECIMAL(6) constraint salary CHECK (SALARY > 0));
|