I was able to join the two queries and now I will have records that look similar like this but are currently stored in an array:
Now I do not know my first column as there are more entries and I would like my hash of arrays to look like this:
But I cannot even begin thinking of how I can accomplish this other than looping through the array and somehow exporting the first number and will need your help