my @query_results = map { $_->[0] } @{ $sth->fetchall_arrayref() };