So, not to nitpick, but SQL doesn’t really have “loops” in the first place. It’s a set-based query language, not procedural. Not trying to be “that guy”, just saying. And I agree in spirit with absolutely everything you’re advising in this thread. - Daily complex SQL userhttps://twitter.com/eigenrobot/status/1451003403849506819 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.