一、表的创建二、表的插入三、插入时更新四、替换五、基本 select六、where 条件mysql select name,chinese,math,english,chinesemathenglish 总分 from exam_result where name like 孙_ or (chinesemathenglish200 and chinese math and english80);七、结果排序注意NULL 值比任何值都要小因为MySQL是先拿出合适的数据再排序的所以这里使用别名是可以的八、分页查询注意limit 分页查询的作用是防止全表查询导致数据库卡死limit 的本质是 显示