- 数据库操作
- 数据库基础数据库是一种 存储结构, 允许使用各种格式 输入、处理、检索 数据,且不用在每次需要数据时 重新输入数据。
- select 语句: select语句 用于查询数据表中的数据。select 语句 语法:
select 所选字段列表 from 数据表名
where 条件表达式 group by 字段名 having 条件表达式
order by 字段名
- insert 语句: insert语句 用于向数据表中插入新数据。insert 语句 语法:
insert into 表名[(字段1) , (字段2)]
valuse(属性值1 , 属性值2)
- update 语句: update语句 用于修改数据表中的数据。 update 语句 语法:
update 数据表名 set 字段名 = 新的字段值 where 条件表达式