Files
freeCodeCamp/curriculum/challenges/german/08-data-analysis-with-python/data-analysis-with-python-course/reading-data-from-databases.md
2023-01-02 08:34:21 -08:00

44 lines
1.2 KiB
Markdown

---
id: 5e9a093a74c4063ca6f7c163
title: Daten aus Datenbanken einlesen
challengeType: 11
videoId: MtgXS1MofRw
bilibiliIds:
aid: 890546354
bvid: BV1JP4y1h7gk
cid: 409020851
dashedName: reading-data-from-databases
---
# --description--
*Anstatt, wie in dem Video gezeigt, notebooks.ai zu verwenden, kannst du auch Google Colab verwenden.*
Weitere Ressourcen:
- <a href="https://github.com/krishnatray/RDP-Reading-Data-with-Python-and-Pandas" target="_blank" rel="noopener noreferrer nofollow">Notebooks auf GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer nofollow">Wie man Notebooks von GitHub unter Verwendung von Google Colab öffnet.</a>
# --question--
## --text--
Welche Methode hat eine `Cursor` Instanz und was erlaubt diese?
## --answers--
Die `Cursor`-Instanz hat eine `.run()`-Methode, mit der man SQL-Queries ausführen kann.
---
Die `Cursor`-Instanz hat eine `.select()`-Methode, mit der man Datensätze auswählen kann.
---
Die `Cursor`-Instanz hat eine `.execute()`-Methode, die SQL-Parameter erhält, welche in der Datenbank geprüft werden.
## --video-solution--
3