Usage of select query statement (including data query and linked table query)
Environment: centos7, mysql version as shown in the figure below:
The following experimental examples are based on a student table student and a grade table score. The following are the structures and table data of the two tables:
1. student
2. score
1. Single table query
- Query all fields; select * from table name;
mysql> select * from student;
+-----+-----------+----