--- id: 5e9a093a74c4063ca6f7c163 title: Leggere i dati dal database challengeType: 11 videoId: MtgXS1MofRw dashedName: reading-data-from-databases --- # --description-- *Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.* Altre risorse: - [Notebook su GitHub](https://github.com/ine-rmotr-curriculum/RDP-Reading-Data-with-Python-and-Pandas/tree/master/unit-1-reading-data-with-python-and-pandas/lesson-11-reading-data-from-relational-databases/files) - [Come aprire Notebooks da GitHub usando Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb) # --question-- ## --text-- Che metodo ha un'istanza di `Cursor` e che cosa permette? ## --answers-- L'istanza `Cursor` ha un metodo `.run()` che consente di eseguire query SQL. --- L'istanza `Cursor` ha un metodo `.select()` che consente di selezionare un documento. --- L'istanza `Cursor` ha un metodo `.execute()` che riceverà i parametri SQL da eseguire sul database. ## --video-solution-- 3