关系代数符号在 LaTeX 中的表示

Relational Algebra / 关系代数符号可以用于表达数据库标准操作逻辑。近期做数据库作业时经常需要用 LATEXLATEX 表示关系代数的符号,故在这里稍作整理。

Operation中文符号LATEXLATEX
Projection 投影 Π
\Pi
Selection 选择 σ
\sigma
Renaming 重命名 ρ
\rho
Aggregate Function 聚合函数 G \mathcal{G}
Union
\cap
Intersection
\cup
Natural Join 自然连接
\bowtie
Left Outer Join 左外连接 ... 这几个直接复制吧
Right Outer Join 右外连接  
Full Outer Join 全外连接  
Cartesian product 笛卡尔乘积 ×
\times
Divide ÷
\div
Assignment 赋值
\leftarrow
And 条件并列
\land or \vee
Negation ¬
\neg
Exist 存在
\exists
For All 对所有
\forall
  下标文字 σusername _{\text{}}
  粗体文字 Gcount(*)
\textbf{}
  长长长长括号 (((( \big( \Big( \bigg( \Bigg(
  比较 ><
\gt \ge \lt \le \ne

 

对应图片展示:

posted on 2021-07-07 11:06  wtsgtc  阅读(3587)  评论(0)    收藏  举报

导航