Parametrize table name in SQL query I have a Python script executing DB2 query as select count(*) as num_rows from {table}