CommencerCommencer gratuitement

Querying NoSQL databases

In this exercise, you'll practice querying from column-oriented, document, and key-value databases. All three are popular NoSQL databases, that we'll use throughout the course!

Cet exercice fait partie du cours

Introduction to NoSQL

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Update the query to pull the team, year, event, and medal
# fields from the olympic_medals table
query = """
SELECT
	____,
    ____,
    ____,
    ____
FROM olympic_medals;
"""

results = conn.cursor().execute(query).fetch_pandas_all()
print(results)
Modifier et exécuter le code