<div dir="ltr"><div>Hello All, <br><br>I ussually iterate a hash that is the result of $rows_ref = $sth->fetchall_hashref('ID'); in my template with  <% FOREACH ID Matched_pats.keys.sort %>. However, In this case though the template only displays one row because each resulting row in the SQL query all have the same ID number. Is there any simple change I can make to get the results to fully iterate?<br><br></div>Thanks<br><div><br></div></div>