当前位置:网站首页>MySQL basic statement query
MySQL basic statement query
2022-04-23 13:06:00 【It's never too late to be alone】
Like a notebook , If you forget, check it out .
CREATE DATABASE teacher;// Create a database named teacher
DROP DATABASE student;// Delete student database
CREATE TABLE teacher_name(
id INT(11),
name VARCHAR(25),
age INT(2)
);// stay teacher Create tables in the database teacher_name
DROP TABLE teacher_name;// Delete data table teacher_name
INSERT INTO teacher_name (id,name,age)
VALUES(002,' Teacher zhang ',23);// towards teacher_name Insert a piece of data into the table
DELETE FROM teacher_name WHERE id = 001;// Delete teacher_name In the table id=001 The data of
SELECT name = ' Teacher zhang ' from teacher_name;// Inquire about teacher_name In the table name= Mr. Zhang's data
UPDATE teacher_name SET name = ' teacher ' WHERE name = ' Teacher he ';// take teacher_name In the table name= Mr. he revised into name = teacher
版权声明
本文为[It's never too late to be alone]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231303465691.html
边栏推荐
- Record the problems encountered in using v-print
- 31. Next arrangement
- V-model binding value in El select, data echo only displays value, not label
- AUTOSAR from introduction to mastery 100 lectures (87) - key weapon of advanced EEA - AUTOSAR and DDS
- SQL exercise question 1
- 22. Bracket generation
- The use of dcast and melt in R language is simple and easy to understand
- filter()遍历Array异常友好
- World Book Day: I'd like to recommend these books
- CVPR 2022&NTIRE 2022|首个用于高光谱图像重建的 Transformer
猜你喜欢
GIS practical tips (III) - how to add legend in CASS?
JMeter operation redis
Packet capturing and sorting -- TCP protocol [8]
There is no need to crack the markdown editing tool typora
Record a website for querying compatibility, string Replaceall() compatibility error
100 lectures on practical application cases of Excel (VIII) - report connection function of Excel
初鉴canvas,展示个小小的小案例
软件测试周刊(第68期):解决棘手问题的最上乘方法是:静观其变,顺水推舟。
8 websites that should be known for product development to enhance work experience
AUTOSAR from introduction to mastery lecture 100 (84) - Summary of UDS time parameters
随机推荐
Free and open source intelligent charging pile SaaS cloud platform of Internet of things
Temperature and humidity monitoring + timing alarm system based on 51 single chip microcomputer (C51 source code)
Importerror after tensorflow installation: DLL load failed: the specified module cannot be found, and the domestic installation is slow
拥抱机器视觉新蓝海,冀为好望开启数字经济发展新“冀”遇
nodeJs + websocket 循环小案例
mui picker和下拉刷新冲突问题
Golang realizes regular matching: the password contains at least one digit, letter and special character, and the length is 8-16
STM32 tracking based on open MV
AUTOSAR from introduction to mastery 100 lectures (81) - FIM of AUTOSAR Foundation
mui + hbuilder + h5api模拟弹出支付样式
The use of dcast and melt in R language is simple and easy to understand
SSM framework series - JUnit unit test optimization day2-3
decast id.var measure. Var data splitting and merging
Translation of attention in natural language processing
Free and open source charging pile Internet of things cloud platform
Pyqt5 store opencv pictures into the built-in sqllite database and query
Byte jump 2020 autumn recruitment programming question: quickly find your own ranking according to the job number
Melt reshape decast long data short data length conversion data cleaning row column conversion
Date time type in database
Mysql8 installation