SQL232 创建一个actor表,包含如下列信息

考点在建表和日期时间函数:

now() 当前日期时间timestamp

curdate() 当前日期

curtime() 当前时间

这里网站不支持default curtime(), 直接去掉好像也通过了,应该要写default curtime()的

create table actor(

    actor_id smallint(5) PRIMARY KEY NOT NULL,

    first_name varchar(45) NOT NULL,

    last_name varchar(45) NOT NULL,

    last_update date NOT NULL );

//应该要写default curtime()

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务