Homework in the first week of winter vacation

contents of homework:

1. Know what is a database?
2. The connection between database tables, columns, fields, and data.
3. Select the MySQL database to learn to add, delete, check, and modify simple operations.
Recommendation: It is best to use the PHPstudy integrated environment. No need to download a separate MySQL.
Check: record your own learning achievements in CSDN and publish blogs.

learning result:

1. Know what is a database?

Definition of the database
Database content

2. The connection between database tables, columns, fields, and data.

Insert picture description hereInsert picture description here

3. Select the MySQL database to learn to add, delete, check, and modify simple operations.

increase:

Create a library named zuoye
Create a library called zuoye
Create a table named zy
Create a table named zy

delete:

Delete a table named zy
Delete a table named zy
delete a library named zuoye

Delete a library named zuoye

check:

Enter data
Input data
Find data
Find data

change:

Change data
Change data

4. Supplement: log in and log out of mysql.

Sign in:

Open PHPsutdy
Insert picture description here

Find the file location and
Insert picture description here
click to open the folder
Insert picture description here

Enter cmd, press Enter,
Insert picture description here
Insert picture description here
enter the database and password here
Insert picture description here

Sign out

Enter exit; or quit;
Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_53105784/article/details/112689364