You are viewing a single comment's thread. Return to all comments →
If person's 'marks' in Marks table falls under a perticular range between 'Min_Mark' and 'Max_Mark' of grades table then that perticular grade will be mapped in the resultset.
Didn't know JOINS can be used in this way too. In your usage,
you are getting a grade as ouput based on the condition on
Marks which is kind of new.