SELECT 'f1' row_name,f1 aaa FROM t_data where classID = '402881c72f329be2012f32c1d87f0002'
UNION ALL
SELECT 'f2' row_name,f2 aaa FROM t_data where classID = '402881c72f329be2012f32c1d87f0002'
UNION ALL
SELECT 'f20' row_name,f20 aaa FROM t_data where classID = '402881c72f329be2012f32c1d87f0002'