postgresql7.1 select timestamp, result, notes from aa_test_results where testcase_id = :testcase_id and package_key = :package_key order by test_id select fails from aa_test_final_results where testcase_id = :testcase_id