let me retry to get rows. I am able to get the desired output but only getting 1 row when there is 3 rows.