当前位置:网站首页>Basic operations of MySQL database (I) --- Based on Database
Basic operations of MySQL database (I) --- Based on Database
2022-07-28 00:43:00 【*Black heart radish three bars*】
1. Create database
create database + Database name ;
for example : I need to create test1 database , The specific operation and results are shown in the figure below

2. Display database
(1) Show all databases
show databases;for example : I need to display all databases , The specific operation and display results are as follows

( Be careful :information_schema、mysql、performanse_schema、sys These three libraries come with the system ,test1、db1 These two libraries are the ones I created .)
(2) Display the specified database
show create database + Library name ;for example : Show specific test1 library , The specific operation and results are as follows

3. Select database
use + Library name ;for example : The library I need to select is test1, Then the specific operation and results are as follows

4. Delete database
drop database + Library name ;for example : The database I need to delete is db1, Then the actual operation and results are as follows

5. Change database name
alter database + name + Options ;// Because this command can only be used on the old version , So I won't show it here 边栏推荐
- 相应通道无电压但ADC的值却在大幅变化且不等于0的可能原因
- mysql分表之后怎么平滑上线?
- 英特尔携手汉朔、微软,释放“AI + 零售”大招!
- Leetcode 452. minimum number of arrows to burst balloons (medium)
- Numpy has no unsqueeze function
- [meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development
- A design scheme of Wal
- In the third week of July, the list of feigua data station B up main ranking list was released!
- Selection of FFT sampling frequency and sampling points
- Prepare for the interview and stick to the third sentence of the question - Branch sentences!
猜你喜欢

Matlab | those matlab tips you have to know (2)

The influence of head zeroing and tail zeroing on FFT output

See how well-known enterprises use Web3 to reshape their industries

mysql数据库的基本操作(三)-——基于字段

HarmonyOS 3纯净模式可限制华为应用市场检出的风险应用获取个人数据
![[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development](/img/29/f31fa3af18198754d2433f47c0c556.jpg)
[meetup preview] openmldb + ONEFLOW: link feature engineering to model training to accelerate machine learning model development

map集合

Camera and lidar calibration: gazebo simulation livox_ camera_ lidar_ Calibration ---- external parameter calibration calculation and result verification

Prepare for the interview and stick to the third sentence of the question - Branch sentences!

BuildForge 资料
随机推荐
ASML推出第一代HMI多光束检测机:速度提升600%,适用于5nm及更先进工艺
҈ straight ҈ Broadcast ҈ Pre ҈ Report ҈ |҈ In hot summer, let's cross the high temperature and "bake" with nono!
Is it amazing to extract text from pictures? Try three steps to realize OCR!
Overview of construction site selection of Yongzhou analytical laboratory
Camera and lidar calibration: gazebo simulation livox_ camera_ lidar_ Calibration ---- external parameter calibration calculation and result verification
C event related exercise code.
What are the namespaces and function overloads of + and @ in front of MATLAB folder
Numpy has no unsqueeze function
Diffusion + super-resolution model strong combination, the technology behind Google image generator image
[must read for new products] valuation analysis of Meishi technology, distributed audio-visual products and Solutions
Matlab | those matlab tips you have to know (4)
【Meetup预告】OpenMLDB+OneFlow:链接特征工程到模型训练,加速机器学习模型开发
[book club issue 13] packaging format of audio and video files
Intensive reading of deep learning papers [gan]: multi-purpose image restoration and processing using depth generation priors
Yongzhou plant cell laboratory construction layout plan
Impulse attends the 2022 Forum on safe circulation of data elements Online - a special session in the field of government affairs, and helps the construction and innovative development of big data for
MATLAB | 那些你不得不知道的MATLAB小技巧(三)
Application scenario Display of metauniverse
数据分析:拆解方法(详情整理)
加拿大法院认定孟晚舟“双重犯罪”成立,引渡程序将继续进行!