Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Is there a way to use read_sql_query and the query has WHERE column = Variable?

product = pd.read_sql_query(f"SELECT * FROM StoringTF WHERE Product_Code = {Val}", c)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Is #query #WHERE #column
ADD COMMENT
Topic
Name
7+1 =