I have 2 tables, User and Grade.
Table User
Class_ID | Name
100 | Alex
101 | Anna
Table Grade
Class_ID | Teacher | Subject | Time
100 | Join | English | 9:00
101 | ... | Math | 10:00
Query all the table User, I run:
SELECT * FROM User WHERE class_ID=100;
Query all the table Grade, I run:
SELECT * FROM Grade WHERE class_ID=100;
How can I return
Name | Class_ID | Teacher | Subject | Time
Alex | 100 | Join | English | 9:00
with just a single query?