狀況1: 只是查詢2個字段,卻獲取第三個字段就會出錯code
SELECT id, name FROM table rs.getString(3);
狀況2: 字段之間缺了逗號來分隔,也會出這個錯get
SELECT id, name age FROM table rs.getString(3)