Hey this code is awesome it has helped me implement my code. Thanks so much for sharing. I was able to reach my SQL end point and created queries directly from my notebook. So helpful, thank you! I have been trying to create a function or for loop with this code you provided but I have been struggling since its quite pro level. I was wondering if you had done this before or had any pointers? thank you again!