学习java,挺好玩的呢

 

create database ssm default character set utf8;

use ssm;

create table flower(
    id int(10) primary key auto_increment comment'编号',
    name VARCHAR(30) not null comment '花名',
    price float not null comment '价格',
    production varchar(30) not null comment '原产地'
);

    insert into flower values(default,'矮牵牛',2.5,'南美阿根廷');
    insert into flower values(default,'百日草',5.0,'墨西哥');
    insert into flower values(default,'半枝莲',4.3,'巴西');

select * from flower;

 

posted on 2018-12-01 10:27  axu521  阅读(530)  评论(0编辑  收藏  举报

<