====Query=====
*https://dev.mysql.com/doc/connector-python/en/connector-python-example-cursor-select.html
<pre>
query = ("SELECT id FROM song_element "
"WHERE reading=%s and element=%s")
cnx = mysql.connector.connect(**config)
cursor = cnx.cursor()
cursor.execute(query , ('hoge', 'foo'))
for (id) in cursor:
print(id)
</pre>
==[[Tips]]==