当前位置:网站首页>MySQL basic commands
MySQL basic commands
2022-06-24 18:38:00 【Brother Mengfan】
One 、 The basic commands of the database
(1) Create database
create database if exists Database name ; -- Created a name xx The database of (2) Delete a database
drop database Database name ;(3) View all current databases
SHOW DATABASES; -- show databases;(4) View the current database
select database();(5) choice ( Switch ) database
use The name of the database to switch ; -- Such as :use mysql;Two 、 The basic command of the table
(1) View all tables in other databases
show tables;-- View all tables in the current database show tables from Database name ; -- Such as :show tables mysql;(2) Under a database View a The structure of the table
desc A table name ;(3) Delete a table
drop table A table name ; -- grammar drop table Table name 边栏推荐
- Leetcode skimming questions - the 72nd biweekly match and 281 weekly match
- DOM (document object model)
- Easyplayer streaming media player plays HLS video. Technical optimization of slow starting speed
- Nine practical guidelines for improving responsive design testing
- [golang] leetcode intermediate - jumping game & different paths
- [North Asia data recovery]_ mdb_ catalog. Mongodb database data recovery case in case of WT file corruption
- Common MySQL commands of installation free version
- Redis series (3) - sentry highly available
- Easynvr fails to use onvif to detect the device. What is the reason why "no data" is displayed?
- Software testing methods: a short guide to quality assurance (QA) models
猜你喜欢

Get the actual name of the method parameter through the parameter

Wechat applet to realize stacked rotation

Microservice system design -- data model and system architecture design

Network security database penetration of secondary vocational group in 2022

Mariana Trench, Facebook's open source code analysis tool

Graph traversal (BFS and DFS) C language pure handwriting

Specification for self test requirements of program developers

Recommend 14 commonly used test development tools

Mcu-08 interrupt system and external interrupt application

ASP. Net hosting uploading file message 500 error in IIS
随机推荐
Exception: Gradle task assembleDebug failed with exit code 1
Common MySQL commands of installation free version
"2022" plans to change jobs and raise salary. It is necessary to ask interview questions and answers - browser
Get max value of a bit column - get max value of a bit column
Bisection function template
Flutter dart regular regexp matches non printing characters \cl\cj\cm\ck
Five advantages and disadvantages of Bi
Digital transformation informatization data planning and technology planning
解决执行MapReduce程序控制台没有日志信息WARN Please initialize the log4j system properly
What is decision intelligence?
High quality defect analysis: let yourself write fewer bugs
Keep two decimal places
[quick news] the jeecgboot low code platform was successfully selected into the 2021 scientific innovation China · open source innovation list
Bigdecimalavoiddoubleconstructorrule: do not directly use the double variable as a parameter to construct BigDecimal
SAP license:sap s/4hana is the answer
Mariana Trench, Facebook's open source code analysis tool
Wechat applet development - Implementation of rotation chart
SAP license: SAP s/4 Hana module function introduction
How to select the best test cases for automation?
股票网上开户安全吗?应该怎么办理?