数据分析笔试准备
学习思考|2026-3-28|最后更新: 2026-3-30
type
Post
status
Published
date
Mar 28, 2026
slug
data-analysis-prep
summary
tags
category
学习思考
icon
password
Comment

SQL

SELECT DISTINCT

SELECT DISTINCT 语句用于返回唯一不同的值。
notion image

WHERE

notion image
notion image

AND & OR

如果第一个条件和第二个条件都成立,则 AND 运算符显示一条记录。
如果第一个条件和第二个条件中只要有一个成立,则 OR 运算符显示一条记录。
notion image
notion image

ORDER BY

ORDER BY 关键字用于对结果集按照一个列或者多个列进行排序。
ORDER BY 关键字默认按照升序对记录进行排序。如果需要按照降序对记录进行排序,您可以使用 DESC 关键字。
 
notion image

INSERT INTO

notion image
notion image

UPDATE

notion image

DELETE

notion image

SELECT TOP

notion image

LIKE

pattern需要使用regex,通配符
notion image
notion image

IN

BETWEEN

notion image
notion image

别名

notion image
notion image
notion image
notion image

JOIN

UNION

SELECT INTO

Loading...