I need a little input on using views. So I have a view with some values. Now in that view I want to do the following:
Grab a value from a MYSQL table and do a look up for that value from another table(this table has ranges), the tables are all in the same databases.
So for example, I am using value 10 from table 1. Now I want to look up that value in table 2 and extract the other columns from it,so the final columns(output) I'll get in my view are
10 | Bad Grade | PASS
Table 2 Example (3 columns)
1-6 | Good Grade | PASS
7-11 | Bad Grade | PASS
12-16 | Fail | DIDNT PASS