This is my python code:
SEARCH_BY_ID_TEMPLATE = "SELECT {columns} FROM {table} WHERE {field} IN (%s) ORDER BY id LIMIT {limit} OFFSET {offset};" def som