I have a table in mySQL whose structure is as given below with a single row of data
info R1 R2 R3 R4 R5 ( Columns)
------------------------------------------
Percent 80 90 70 85 69 (Data)
My app is to take attedance in a lecture which stores the attendance data and the overall percentage in the above format.
I need to retrieve the column name if the percent is below 75% ? How do I do this using a Php script? Which mySQL query should I use?