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!
This exercise is part of the course
Introduction to NoSQL
Hands-on interactive exercise
Have a go at this exercise by completing this sample 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)