"SELECT * FROM " + PRO_TABLE + " WHERE "
+ PRO_CATID + "= '" + cat_id + "' " +" AND "+ PRO_CAT + "= '" + cat_name + "' " + " AND "
+ PRO_SUB_CATID + "= '" + subcat_id + "' ORDER BY "+ PRO_PP + " ASC ";
答案 0 :(得分:2)
您应该使用 CAST 。
ORDER BY CAST(PRO_PP AS REAL) ASC