NoSQL डेटाबेस को क्वेरी करना
इस अभ्यास में, आप column-oriented, document, और key-value डेटाबेस से क्वेरी करने का अभ्यास करेंगे. ये तीनों लोकप्रिय NoSQL डेटाबेस हैं, जिनका उपयोग हम पूरे कोर्स में करेंगे!
यह अभ्यास पाठ्यक्रम का हिस्सा है
NoSQL परिचय
इंटरैक्टिव व्यावहारिक अभ्यास
इस अभ्यास को इस नमूना कोड को पूरा करके आज़माएँ।
# 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)