题目详情
单选题 当学生的性别是男时,其名字不能以Ms.打头
A. create table student ( sno char(9) primary key, sname char(20) not null, ssex char(2), sage smallint, sdept char(20) )
B. create table student ( sno char(9) primary key, sname char(20) not null, ssex char(2), sage smallint, sdept char(20), check(ssex='男' and sname not like 'Ms.%') )
C. create table student ( sno char(9) , sname char(20) not null, ssex char(2), sage smallint, sdept char(20), check(ssex='男' and sname not like 'Ms.%') )
D. create table student ( sno char(9) primary key, sname char(20) not null, ssex char(2), sage smallint, sdept char(20), check(ssex='女' or sname not like 'Ms.%') )

学科:数据库系统概论2023
时间:2023-06-16 06:28:51
相关题目
相关作业
