V
V
Valery Zhmyshenko2020-08-21 17:45:43
Python
Valery Zhmyshenko, 2020-08-21 17:45:43

How to get value from cell in sqlite3?

Hello! I am learning sqlite3 for the first day and the following question is interesting:
There is a music table in the database. The content of the table is here:
5f3fdd8416811381906448.png
And I'm wondering how to get a cell (I mean by it 5f3fddbf674c3649576547.png) I tried different ways, but it didn't work. Tell me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Ternick, 2020-08-21
@mcborrrov

Hello, this problem is very easy to solve. In the database there is such a thing as queries they are used to retrieve the desired data.
You need to use only one query
SELECT `right_answer` FROM music WHERE id = 3;
Well, that's basically it.
It is also customary to indicate your code in the question, even if it is not very correct.
If you are satisfied with the answer, mark the answer as solved.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question