I have a list with strings:
list = ['abc', 'cbd', 'bdc']
I want to use it as an input within an SQL query like:
query=('SELECT * from table where column1 in list')
What is the best way to do it in order for the SQL to run for these 3 items of the list?