手工为数据库录入数据: 1 -- 使用数据库 2 use test; 3 4 -- 创建fruits数据表 5 create table fruits( 6 f_id char(10) not null, 7 s_id int not null, 8 f_name varchar(255) not null, 9 f_price decimal(8,2) not null, 10 primary key(f_id) 11 ); 12 13 -- 插入数据 14 insert into fruit