Selecting modified data from rows
29.6
Exercise

Selecting conditional data from rows

Write a query to display student’s name, marks and a third column named “result”. The value of “result” should be be “passed” if marks is greater than 33. Otherwise value should be “failed”.