Files

44 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5e9a093a74c4063ca6f7c163
title: Зчитування даних із баз даних
challengeType: 11
videoId: MtgXS1MofRw
bilibiliIds:
aid: 890546354
bvid: BV1JP4y1h7gk
cid: 409020851
dashedName: reading-data-from-databases
---
# --description--
*Замість використаного у відеоматеріалі notebooks.ai можна користуватись блокнотом Google Colab.*
Додаткові ресурси:
- [Блокноти на GitHub](https://github.com/krishnatray/RDP-Reading-Data-with-Python-and-Pandas)
- [Як відкрити блокноти з GitHub використовуючи Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
# --question--
## --text--
Який метод є в екземплярі `Cursor` і що можна робити за його допомогою?
## --answers--
Екземпляр `Cursor` має метод `.run()` за допомогою якого можна запускати SQL запити.
---
Екземпляр `Cursor` має метод `.select()`, за допомогою якого можна обирати записи.
---
Екземпляр `Cursor` має метод `.execute()`, що отримує SQL параметри для виконання у базі даних.
## --video-solution--
3