我用于更新表的python代码如下所示: """Records the outcome of a single match betweenloser: the id number of the player who lost conn=connect() sql="UPDATE players SET wins = wins + 1 WHER
我使用的SQL查询只对where子句进行了更改。我希望将SQL查询存储为一个变量,并将每个where子句存储为单独的变量。下面给出了我正在使用的SQL查询:select a.prod_name,a.prod_cat,b.sale_date join sales b ona.prod_cat,b.sale_date join sales b on a.id =