当前位置:网站首页>Simple operation of MySQL database
Simple operation of MySQL database
2022-06-13 01:15:00 【Roam-G】
Log in to the database :mysql -u root -p Just enter the password .
Lists all databases that the current user can view : mysql> SHOW DATABASES;
Create a file called test_db The database of : mysql> CREATE DATABASE test_db;
Use LIKE clause , Check with test_db Exactly matched database : mysql> SHOW DATABASES LIKE 'test_db';
Use LIKE clause , Check that the name contains test The database of : mysql> SHOW DATABASES LIKE '%test%';
example :
1. establish score surface

2. insert data


3. Query all the information in the table

4. check >=80 Points of

5. Inquire about Out Good grades in all subjects >=80 Student name of

What you want is to display the name , Other information does not need to be displayed .
Continuous optimization !
The name is repeated
Optimize again

Only one qualified name will be displayed .
边栏推荐
- Leetcode-18- sum of four numbers (medium)
- MySQL index
- How to choose stocks? Which indicator strategy is reliable? Quantitative analysis and comparison of DBCD, ROC, vroc, Cr and psy index strategy income
- [projet cs144 de Stanford Computing Network] lab1: Stream reassembler
- Self use notes for problem brushing learning
- Leetcode find duplicates
- 【斯坦福計網CS144項目】Lab1: StreamReassembler
- Leetcode-17- letter combination of phone number (medium)
- Canvas game 2048 free map size
- Binary tree traversal - recursive and iterative templates
猜你喜欢

Memory learning book reference

Mathematical knowledge arrangement: extremum & maximum, stagnation point, Lagrange multiplier
![[projet cs144 de Stanford Computing Network] lab1: Stream reassembler](/img/7b/fad18b68a6ee30d1dec4dad6273b98.png)
[projet cs144 de Stanford Computing Network] lab1: Stream reassembler

Five classic articles worth reading

Undirected graph -- computing the degree of a node in compressed storage

How to choose stocks? Which indicator strategy is reliable? Quantitative analysis and comparison of DBCD, ROC, vroc, Cr and psy index strategy income

The tle4253gs is a monolithic integrated low dropout tracking regulator in a small pg-dso-8 package.

pycharm add configutions
![[JS component] browse progress bar](/img/cb/913f446db2cacdb965a3bf619aa478.jpg)
[JS component] browse progress bar

Pipeline pipeline project construction
随机推荐
MySQL performance analysis - explain
Alexnet implements image classification of caltech101 dataset (pytorch Implementation)
Leetcode-13- Roman numeral to integer (simple)
Facial expression recognition dataset
[projet cs144 de Stanford Computing Network] lab1: Stream reassembler
软件测试的几种分类,一看就明了
Liu Hui and introduction to nine chapter arithmetic and island arithmetic
Leetcode-78- subset (medium)
Rasa dialogue robot helpdesk (III)
Sequence table - find main element
Unitywebrequest asynchronous Download
Leetcode question brushing 04 string
Rasa对话机器人之HelpDesk (三)
3623. Merge two ordered arrays
Canvas game 2048 free map size
MySQL transaction
Undirected graph -- computing the degree of a node in compressed storage
redis
Physical orbit simulation
Leetcode-11- container with the most water (medium)