当前位置:网站首页>Basic operations of MySQL auto correlation query
Basic operations of MySQL auto correlation query
2022-06-13 05:15:00 【strive_ one】
Basic operations of Auto Association query
- preparation :
- sql The data file is accessed from the following connection
The extraction code is :n0ug

Query all provinces and autonomous regions
select * from province where pid=0;


Statistics on all provinces, autonomous regions and municipalities directly under the central government in China :

What cities are there in Guangdong Province ( Imagine two tables ):
select p.name,s.name from province as p inner join province as s on s.pid=p.id where p.name = " Guangdong province, ";

边栏推荐
- MySQL installation, architecture and management
- Enhanced for loop
- MySQL8.0.13安装教程(有图)
- MySQL log management and master-slave replication
- Case - grade sorting - TreeSet set storage
- Binary search and binary answer
- Create a harbor image library from the command line
- Bm1z002fj-evk-001 startup evaluation
- C language learning log 10.11
- Deleted the jupyter notebook in the jupyter interface by mistake
猜你喜欢
随机推荐
lookup
[reprint] complete collection of C language memory and character operation functions
Shell instance
Implementing the driver registration initcall mechanism on stm32
Chapter 17 free space management
Bm1z002fj-evk-001 startup evaluation
The games that you've tasted
行情绘图课程大纲1-基础知识
Elliptic curve encryption
Interpretation of QT keypressevent
Chapter 13 abstraction: address space
C language learning log 10.8
17.6 unique_lock详解
Luogu p1012 guess
Shell variable learning notes
Jeffery0207 blog navigation
Case - traversing the directory (file class & recursive call)
Clause 30: be familiar with the failure of perfect forwarding
Spice story
Robot pose description and coordinate transformation









