当前位置:网站首页>[MySQL] SQL aliases the table
[MySQL] SQL aliases the table
2022-07-29 02:03:00 【CAFE~BABE】
occasionally , When operating on tables in the database , It is found that the table name is rather lengthy , At this time, we need to create an alias for the table , The keyword of alias is as( Or you can skip it ) .
Now there is a student surface , The structure is as follows :
Now I think student Is too long. I don't want to fight all the time .
sql The statement is as follows
select a.Sno,a.Sname,a.Sage from student as a (as Can be removed )
give the result as follows :
We're right student Took an alias called a
Of course, we don't need to do this when we have a watch , But it is very useful for multiple tables and tables to connect with themselves
author : Xiaoyao happy
source :CSDN
original text :https://blog.csdn.net/hxy19971101/article/details/53239979
Copyright notice : This article is an original blog article , Please attach a link to the blog post !
边栏推荐
- What is the ISO assessment? How to do the waiting insurance scheme
- [10:00 public class]: application exploration of Kwai gpu/fpga/asic heterogeneous platform
- Leetcode 113: path sum II
- Nine days later, we are together to focus on the new development of audio and video and mystery technology
- [golang] synchronization lock mutex
- Super scientific and technological data leakage prevention system, control illegal Internet behaviors, and ensure enterprise information security
- Leetcode 112: path sum
- StoneDB 为何敢称业界唯一开源的 MySQL 原生 HTAP 数据库?
- StoneDB 邀请您参与开源社区月会!
- Stonedb invites you to participate in the open source community monthly meeting!
猜你喜欢

数学建模——派出所选址

Dynamic memory and smart pointer

Planning mathematics final exam simulation II
![[the road of Exile - Chapter III]](/img/f8/3d1dfabaacf030450c1576fe543cfa.png)
[the road of Exile - Chapter III]

DSP vibration seat

How companies make business decisions -- with the help of data-driven marketing

规划数学期末模拟考试一
![Golang startup error [resolved]](/img/9c/c4757c73d4acd8edf22afa8107fb66.png)
Golang startup error [resolved]

Where will Jinan win in hosting the first computing power conference?

数据平台数据接入实践
随机推荐
[7.21-26] code source - [sports festival] [Dan fishing war] [maximum weight division]
Minimalist thrift+consumer
Why does stonedb dare to call it the only open source MySQL native HTAP database in the industry?
What is the function of data parsing?
Secret skill winter tide branding skill matching
MySQL high performance optimization notes (including 578 pages of notes PDF document), collected
覆盖接入2w+交通监测设备,EMQ为深圳市打造交通全要素数字化新引擎
给LaTeX公式添加优美的注解;日更『数据科学』面试题集锦;大学生『计算机』自学指南;个人防火墙;前沿资料/论文 | ShowMeAI资讯日报
[the road of Exile - Chapter 4]
ASCII code table
golang run时报undefined错误【已解决】
Six noteworthy cloud security trends in 2022
How to find the right agent type? Multi angle analysis for you!
数学建模——红酒品质分类
Golang startup error [resolved]
In depth analysis of C language memory alignment
The scientific research environment has a great impact on people
Code reading - ten C open source projects
Sigma-DSP-OUTPUT
Stonedb invites you to participate in the open source community monthly meeting!