SQL Learner
2010-02-08 01:08:37 UTC
Hi All,
If I have the following one-column table:
Grade
80
100
90
60
50
90
I want to add a new column (in the result, not in the physical table)
called "Letter_Grade" using the following convertion method:
50 = F
60 = D
70 = C
80 = B
90 and 100 = A
How can I do it?
You may provide more than one solutions. Thanks.
SQL Learner
If I have the following one-column table:
Grade
80
100
90
60
50
90
I want to add a new column (in the result, not in the physical table)
called "Letter_Grade" using the following convertion method:
50 = F
60 = D
70 = C
80 = B
90 and 100 = A
How can I do it?
You may provide more than one solutions. Thanks.
SQL Learner