当前位置:网站首页>MySQL related commands
MySQL related commands
2022-07-18 23:10:00 【sarah0619】
| use Library name ;create table Table name ( Field name varchar(20), Field name char(1)); | Create a table in a library |
| for example :use test; | ( open test This database ) |
| drop database Library name ; | Delete database |
| drop table Table name ; | Delete data table |
| delete form Table name ; | Empty the records in the table |
| select * from uu; | List uu The records in this table |
| insert into test(name,age)values('sarah','28'); | Insert new data |
| update Table name set Field name 1='a', Field name 2='b'where Field name 3'c'; | Update the data in the table |
| describe Table name ; | Display the data table in the database |
| select database(); | Show all databases |
| select user(); | Show all the tables |
| select * from Table name where sex= " Woman "; | Choose a female from this list |
| select name,sex from Table name ; | Check the names and genders of all people in this table |
| select count(*) from Table name ; | Count the rows of this table |
| select sex,count(*) from Table name group by sex; | Group genders and count |
边栏推荐
- [development of large e-commerce projects] cache distributed lock redisson concise & integration lock redisson resolve deadlock read / write lock lock lock semaphore-44
- Nature aging | activates FoxM1 gene, or doubles human life span
- Logical loopholes in security testing
- 2022 soft test network administrator preparation guide
- C # network application programming, experiment 2: IP address translation and domain name resolution exercises
- Enter a URL and explain the whole process
- Bigdata operation week 14 & 15
- Openstack related blog
- Remove the k-bit number [greedy thought & monotonic stack implementation]
- 关于产品 | 要怎么进行产品规划?
猜你喜欢

如何高效系统学习 MySQL?

伺服阀moogD634-374C

Do you want to switch to software testing? A comprehensive analysis

The best way to practice Animation: cover transition

Deepmind's latest 114 page report "emerging barter trade behavior in Multi-Agent Reinforcement Learning"

NASA took the first clear picture of the moment after the big bang

Sklearn linear regression completes the fitting of multiple term function and sine function

Overflow valve Rexroth zdb10vp2-4x/315v

性能测试中问题反思和心得

T-infinite Road
随机推荐
NPM common commands use commands to delete nodes_ Modules package
[dynamic programming]dp23 non adjacent data retrieval - simple
Sklearn linear regression completes the fitting of multiple term function and sine function
C # network application programming, Experiment 5: data flow exercise
Remember once, ants were abused on all sides. The water was too deep. Have you built the ferry across the river?
10 minutes to customize the pedestrian analysis system, detection and tracking, behavior recognition, human attributes all in one
Cache design
Listen to drag and drop events. You can't get the uploaded file content by dragging for the first time, and you can get the uploaded file content normally after the second time
Sklearn linear regression fitting first-order term function
2022 soft test network administrator preparation guide
3D point cloud course (IV) -- clustering and model fitting
基于多数据源零代码同时生成多个数据库CRUD增删改查RESTful API接口——MySql,PostgreSql,Oracle,Microsoft SQL Server多数据源
Pycuda installation completed, verification steps
面试官:说一下你工作中发现的最有价值的bug
[NOIP2006普及组]明明的随机数
深入剖析斐波拉契数列
【无标题】
三种常用时序数据库对比调研-InfluxDB、Prometheus、IotDB
【图片编辑小软件】FastStone Photo Resizer支持批量转换和批量重命名
[basic service] [database] MySQL master-slave replication deployment and configuration