# AQL select with PK

**URL:** <https://discuss.aerospike.com/t/aql-select-with-pk/3314>\
**Category:** AQL\
**Tags:** query, pk, java, aql\
**Created:** [August 23, 2016, 7:50pm UTC](https://discuss.aerospike.com/t/aql-select-with-pk/3314 "2016-08-23T19:50:54Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![kyle-banta-yoshida](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kyle-banta-yoshida/32/1399_2.png) [@kyle-banta-yoshida](https://discuss.aerospike.com/u/kyle-banta-yoshida)\
**Post date:** [June 9, 2020, 5:02pm UTC](https://discuss.aerospike.com/t/aql-select-with-pk/3314/10 "2020-06-09T17:02:30Z")

</div>

now part of the official knowledge base: [https://discuss.aerospike.com/t/how-do-i-get-the-primary-key-pk-using-aql/7517](https://discuss.aerospike.com/t/how-do-i-get-the-primary-key-pk-using-aql/7517)

---

_[View the full topic](https://discuss.aerospike.com/t/aql-select-with-pk/3314)._
