Calculating Grades in SQL -


Very simply, I need to find a student grade using SQL I, for example, I have the following The table that defines the grade

  marks (in) grade (four)   

and data like this: icon | Grade __90 | A + __80 | A __70 | A- __60 | B __50 | C __40 | D. Well, on saying, if I have a student who gets points 73, how can I use the above grading in SQL?

lot ...

You value your value at or below the highest value 73 options for your price ...

Select the top 1 grade from the table name, where Mark & ​​lt; = 1 mark command

Comments