Aan de slagGa gratis aan de slag

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!

Deze oefening maakt deel uit van de cursus

Introduction to NoSQL

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# 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)
Code bewerken en uitvoeren