LoslegenKostenlos loslegen

Insert and query data in Table storage

Cipher Coffee wants to store simple, structured data for its loyalty program without the overhead of a full database. Your task is to use Azure Table Storage to create a table, insert sample loyalty entities, and run a query to retrieve customer records efficiently. You will insert entities using different PartitionKeys and RowKeys, then query by PartitionKey to validate fast lookups.

Diese Übung ist Teil des Kurses

Develop for Azure Storage

Kurs anzeigen

Anleitung zur Übung

In your Storage account, open Data storageTables and create a table named "LoyaltyProfiles".,Insert two entities that share PartitionKey "CustomerA" and use distinct RowKey values "1001" and "1002".,Insert a third entity using PartitionKey "VIP" and RowKey "2001".,Query the table with the filter PartitionKey eq 'CustomerA' to return only the two "CustomerA" entities. Screenshot showing the Azure Portal *Tables* view with a table named LoyaltyProfiles, the Add entity panel, and a query input filtering by PartitionKey.

Interaktive Übung

In dieser interaktiven Übung kannst du die Theorie in die Praxis umsetzen.

Übung starten