Files
MySQL-Study/数据库5.1.md
2025-11-14 13:24:53 +08:00

19 lines
408 B
Markdown

# 单表无条件查询
## 一、select语句的一般**格式**(重点)
```sql
SELECT ()
FROM
[WHERE ]
[GROUP BY ()]
[HAVING ()]
[ORDER BY ()]
[LIMIT (N个)];
```
# 二、单表无条件查询
```sql
select [all|distinct]
from
limit[,];
```