title: Querying DynamoDB by date
body: <p>I'm coming from a relational database background and trying to work with amazon's DynamoDB</p>
  <p>I have a table with a hash key &quot;DataID&quot; and a range &quot;CreatedAt&quot; and a bunch of items in it.</p>
  <p>I'm trying to get all the items that were created after a specific date and sorted by date which is pretty straightforward in a relational database.</p>
  <p>In DynamoDB the closest thing I could find is a query and using the range key greater than filter. The only issue is that to perform a query I need a hash key which defeats the purpose.</p>
  <p>So what am I doing wrong? Is my table schema wrong, shouldn't the hash key be unique? Or is there another way to query?</p>