How often is the data in the database updated? That sql statement will only ever return 1 row so if no daa is updated or added, it will return the same row every time it is run
Put a debug node showing the output of the inserting db node and capture a successful insert followed by the result of the inject where it does not show the latest sample. Post it here so we can see.
Slight distraction I know, but if you included the name in the query and it was in the result array you could just send the array to the map as received.