강의

멘토링

커뮤니티

Inflearn Community Q&A

minimoog's profile image
minimoog

asked

Python Basics to Practice Part 7

Python and Database Connection (Lab-7)

선생님 이것 좀 봐주세요??

Written on

·

283

0

  • cur.execute("insert into userTable(id, userName, email, birthYear) values(?, ?, ?, ?)",
    (id, userName, email, birthYear))
    저는 이게 안나요? 저장이 안돼요??
    sql = "insert into userTable values('" + id + "','" + userName + "','" + email + "'," + birthYear + ")"
    cur.execute(sql)
    이것은 저장이 되요

     

python

Answer

This question is waiting for answers
Be the first to answer!
minimoog's profile image
minimoog

asked

Ask a question