Jupyter Notebook does not allow me to type MySQL queries on multiple lines -


as above, cannot type queries on multiple lines in jupyter, annoying because harder write , read own queries. there way toggle multiple , single line input? have googled quite few times documentation doesn't seem help.

ps: found silly solution of typing '%%sql' instead of '%sql'

this pretty easy using standard python syntax. use triple quote operator.

query = """ select   foo   bar """ 

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -