最新の日付までにデータを注文する必要があります。
このSQLステートメントは機能しています
final String selectSql = "select * from questionnaire where userprofileid=" + userProfileID ;
このSQLステートメントは**機能していません**
final String selectSql = "select * from questionnaire where userprofileid=" + userProfileID +"ORDER by datecreated desc";
エラーメッセージ:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:SQL構文にエラーがあります。1行目の「bydatecreatededesc」の近くで使用する正しい構文については、MySQLサーバーのバージョンに対応するマニュアルを確認してください。