For example, query the table above
The complete code is as follows
The layout of this class
The query results are as follows
The above code is written according to the instructions given by the teacher.
The teacher’s code is as follows
The second query method
Query the following table
Complete code
The query results are as follows
The third query method
The fourth kind