I have to access several tables from a database using node js and add the results to an array. However, I cannot figure out how to access the tables sequentially as node runs ahead asynchronously. I need to save the results of one table before I can access the next. Below is an example of how I access the database for reach tables.I have to access several tables from a database