【SQL开源代码栏目提醒】:网学会员为需要SQL开源代码的朋友们搜集整理了studyphp.sql相关资料,希望对各位网友有所帮助!
mysql> select * from price;
+---------+-------+-----------------------------+
| item_id | price | content |
+---------+-------+-----------------------------+
| 1 | 75 | 该商品很好 |
| 12 | 74 | 欢迎大家的购买 |
| 25 | 218 | 大家觉的怎么样呢 |
| 123 | 158 | 不错的商品,很好,well good |
| 158 | 2960 | 好的商品 |
| 785 | 7760 | 好棒哦 |
| 56 | NULL | 好 |
+---------+-------+-----------------------------+
my
sql> select * from shoping;
+---------+----------------+
| item_id | name |
+---------+----------------+
| 1 | 134 |
| 2 | 777 |
| 12 | 黄海 |
| 25 | 天时 |
| 56 | 橘子 |
| 123 | 你错了吧 |
| 789 | 哀怜电视机发挥 |
| 987 | 鞠躬 |
| 7289 | 哀怜电视机发挥 |
| 9861 | 大地 |
| 9871 | 天时 |
| 98611 | 大地 |
| 98711 | 天时 |
| 123121 | 交流电水粉画 |
| 986111 | 大地 |
| 987111 | 天时 |
+---------+----------------+
mysql> select * from complay;
+---------+----------------------+
| item_id | complay |
+---------+----------------------+
| 1 | 杭州品杰科技有限公司 |
| 5 | 杭州太原科技有限公司 |
| 12 | 南昌天畅科技有限公司 |
| 123 | 南昌华夏有限公司 |
| 125 | 杭州天下科技有限公司 |
| 768 | 杭州红日科技有限公司 |
| 56 | 杭州水果批发部 |
| 181 | 天津医药公司 |
+---------+----------------------+
mysql> select * from people;
Empty set (0.00 sec)
create table shoping
(
item_id int,
name varchar(20)
)
insert into shoping values(1,'134');
insert into shoping values(2,'777');
insert into shoping values(12,'黄海');
insert into shoping values(25,'天时');
insert into shoping values(56,'橘子');
insert into shoping values(123,'你错了吧 ');
insert into shoping values(789,'哀怜电视机发挥');
insert into shoping values(987,'鞠躬');
insert into shoping values(7289,'哀怜电视机发挥');
insert into shoping values(9861,'大地');
insert into shoping values(9871,'天时');
insert into shoping values(98611,'大地');
insert into shoping values(98711,'天时');
insert into shoping values(123123,'交流电水粉画 ');
insert into shoping values(986111,'大地');
insert into shoping values(987111,'天时');
create table price
(
item_id int,
price varchar(50),
content varchar(50)
)
insert into price values(1,'75','该商品很好');
insert into price values(12,'74','欢迎大家的购买 ');
insert into price values(25,'218','大家觉的怎么样呢');
insert into price values(123,'158','不错的商品,很好,well good');
insert into price values(158,'2960','好的商品');
insert into price values(758,'7760','好棒哦 ');
insert into price values(56,'','好');
insert into price values(,'','');
insert into price values(,'','');
create table complay
(
item_id int,
complay varchar(50)
)
insert into complay values(1,'杭州品杰科技有限公司');
insert into complay values(5,'杭州太原科技有限公司');
insert into complay values(12,'南昌天畅科技有限公司');
insert into complay values(123,'南昌华夏有限公司');
insert into complay values(125,'杭州天下科技有限公司');
insert into complay values(768,'杭州红日科技有限公司');
insert into complay values(56,'杭州水果批发部');
insert into complay values(181,'天津
医药公司 ');
create table people
(
name varchar(50),
age int,
phone int
)