# IDs in Data Explorer

**URL:** <https://meta.discourse.org/t/ids-in-data-explorer/224775>\
**Category:** Data & reporting\
**Tags:** sql-query\
**Created:** [April 19, 2022, 6:02pm UTC](https://meta.discourse.org/t/ids-in-data-explorer/224775 "2022-04-19T18:02:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [April 19, 2022, 6:47pm UTC](https://meta.discourse.org/t/ids-in-data-explorer/224775/2 "2022-04-19T18:47:00Z")

</div>

You can alias that particular `id` to `post_id` and it will work its magic. 👍 Eg.

```plaintext
SELECT id AS post_id
FROM posts 
ORDER BY created_at DESC

```

---

_[View the full topic](https://meta.discourse.org/t/ids-in-data-explorer/224775)._
