How to get a value from a database based on a value from the same row, but different column - pls help!!!!!!!!!!

@yisrael-wix Yes, i totally agree with you. As you have written the .then() with the async, the function containing the code would not need it.