Blogger Information
Blog 53
fans 3
comment 0
visits 55249
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
11月20日-数据库操作-***线上九期班
邯郸易住宋至刚
Original
756 people have browsed it

一、数据库的增删改查

手抄:

1、新增记录

SQL语句:

  1. INSERT INTO `category` SET `name` = 'bjst' , `alias` = '巴勒斯坦'

结果

2、更新记录

SQL语句:

  1. UPDATE `category` SET `alias` = '巴基斯坦'

结果

3、查询记录

SQL语句:

  1. SELECT * FROM `category` WHERE `cate_id` > 1 and `cate_id` < 4

结果

3、查询记录

SQL语句:

  1. DELETE FROM `category` WHERE `cate_id` = 4

结果

二、创建两张数据表(每张表有10个字段)

1、user表

2、student表

Correcting teacher:查无此人查无此人

Correction status:qualified

Teacher's comments:完成的不错,继续加油
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments