MYSQL
萤火虫 ✨
这个作者很懒,什么都没留下…
展开
-
SQL查询
sql总结 //单表查询 1. select * from student; 2. select sname,ssex,class from student; 3. select distinct depart from teacher;//去重查询 4. select * from score where degree between 60 and 80;//区间查询 5. select * from score where degree>60 and degree<80; 6.原创 2021-08-02 22:52:20 · 123 阅读 · 0 评论 -
mysql
忘记密码怎么办? 修改密码 基础使用原创 2021-05-19 22:35:56 · 40 阅读 · 0 评论 -
mysql limit offset
Mysql limit offset示例 例1,假设数据库表student存在13条数据。 代码示例: 语句1:select * from student limit 9,4 语句2:slect * from student limit 4 offset 9 // 语句1和2均返回表student的第10、11、12、13行 //语句2中的4表示返回4行,9表示从表的第十行开始 例2,通过limit和offset 或只通过limit可以实现分页功能。 假设 numberperpage 表示每页要显示的条数,转载 2021-04-17 15:20:59 · 82 阅读 · 0 评论 -
MYSQL NULL和空值
参考转载 2021-04-17 14:34:10 · 89 阅读 · 0 评论