hi i am korean so not native english speaker
anyway i have question
when i learning sql and python flask connect
this is my code
sql='''select count(*) from member where id = :1 '''
result=curs.execute(sql,(join_id))
cnt=result.fetchone()
this code print (ORA-01036: illegal variable name/number) error message
ok i solved error
sql='''select count(*) from member where id = :1 '''
result=curs.execute(sql,(join_id,)
cnt=result.fetchone()
like this( join_id (add),)
that is my question
why different result (,) or not
i think it just one binding variable so why need (,)??