text: Serverless 
  
  • Query – Retrieves all of the items that have a speciﬁc partition key. Within those items, you can 
  apply a condition to the sort key and retrieve only a subset of the data. Query provides quick, 
  eﬃcient access to the partitions where the data is stored. 
  
  • Scan – Retrieves all of the items in the speciﬁed table. This operation should not be used 
  
  with large tables because it can consume large amounts of system resources. Think of it like a 
  
  “SELECT*FROM BIG_TABLE” in SQL. You should generally prefer Query over Scan. 
  
  • ExecuteStatement retrieves a single or multiple items from a table. 
  
  BatchExecuteStatement retrieves multiple items from diﬀerent tables in a single operation. 
  Both of these operations use PartiQL, a SQL-compatible query language. 