Mysql基本语句 一、查询语句 基本查询全部数据 select * from 表名; 基本查询单独字段 select name from 表名; 二、添加语句 基本添加 insert into 表名(id, name(要添加数据的字段)) values(1, '张三'); 三、删除语句 基本删除所有数据 delete from 表名; 基本删除指定数据 delete from 表名 where id = 1; # 删除id指定为1的所有数据,整行删除