Back to Napkin Math

14

newsletter/14-syncing/14.ipynb

latest346 B
Original Source
python
!pip3 install mysqlclient sqlalchemy jupyter_contrib_nbextensions
!jupyter contrib nbextension install --user
!jupyter nbextension enable python-markdown/main
%load_ext sql
%sql mysql://root@localhost/napkin
python
result = %sql SELECT id, updated_at FROM `table` LIMIT 1;
result

Hey

This is pretty cool {{result[0][0]}}