The first table is named "test_groups" and has three columns: "name" which is a string of up to 40 characters and cannot be null; "test_value" which is an integer and cannot be null; and "unique(name)" which ensures that each "name" value in the table is unique.

The second table is named "test_cases" and has three columns: "id" which is an integer and cannot be null; "group_name" which is a string of up to 40 characters and cannot be null; "status" which is a string of up to 5 characters and cannot be null; and "unique(id)" which ensures that each "id" value in the table is unique.

create table test_groups name varchar40 not null test_value integer not null uniquename ; create table test_cases id integer not null group_name varchar40 not null

原文地址: https://www.cveoy.top/t/topic/bkRa 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录