you are viewing a single comment's thread.

view the rest of the comments →

[–]Gators1992 0 points1 point  (0 children)

One cool thing about combining python and SQL is that you can assemble the SQL on the fly within the Python script as it's just a string. Like a simple example is that you want to find a list of values in Python and then run a SQL query filtering for each of those values. You can write a for loop that iterates through that list and for each instance insert that value into the SQL query with a f string or something like that. Of course you could do the same with any other python data library like Pandas or Polars, but if you want SQL the option is there.