Python | MySQL | 查询汇总

前言: 承接上篇数据库基础增删改查操做。文章以students表为例python 1,查询练习: select * from students ; select 表别名.字段 .... from 表名 as 表别名; #例:能够给表起别名,查询表的name字段 select s.name from students as s; distinct 字段 去重 #例:性别去重 select
相关文章
相关标签/搜索