Answers for "inssert in dict python"

CSS
0

Using a Python dict for a SQL INSERT statement

sql = "INSERT INTO %s (%s) VALUES(%s)" % (
    table, ",".join(cols), ",".join(vals))
Posted by: Guest on May-15-2021

Browse Popular Code Answers by Language