db response query nested lets