For example, the landlord recently followed the video to learn the SQL statement and sent his own results. The two tables, student table and class table, were different from the teacher! The following figure shows the student information (img.ask.csdn.netupload201603251458873368_478894.png). you must query the information of the same student in the class and check that the left connection is shown as follows :! Refer to the following link for more information: (img.ask.csdn.netupload201603251458873495_704063.png! [Image description] (... mysqlsql
For example, the author has recently followed the video to learn SQL statements and sent their own results different from those of the teacher.
Two tables, student table and class table
The requirement is to query the same student information as the class, and the left link is shown as follows:
The right connection is shown as follows:
Why is the order of data displayed in the left join query not in the student table order? Isn't the student table a master table? Why is the sequence of the displayed itcast completely messy, but arranged according to the id sequence of the right table? Please, please try again