26 lines
699 B
Markdown
26 lines
699 B
Markdown
---
|
|
id: 5e9a093a74c4063ca6f7c163
|
|
title: Reading Data from Databases
|
|
challengeType: 11
|
|
videoId: MtgXS1MofRw
|
|
---
|
|
|
|
## Description
|
|
<section id='description'>
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
question:
|
|
text: What method does a <code>Cursor</code> instance have and what does it allow?
|
|
answers:
|
|
- The <code>Cursor</code> instance has a <code>.Run()</code> method which allows you to run SQL queries.
|
|
- The <code>Cursor</code> instance has a <code>.Select()</code> method which allows you to select records.
|
|
- The <code>Cursor</code> instance has a <code>.Execute()</code> method which will receive SQL parameters to run against the database.
|
|
solution: 3
|
|
```
|
|
|
|
</section>
|