# 리포트 내 토픽 링크를 클릭할 수 있도록 허용

**URL:** https://meta.discourse.org/t/allow-topic-links-in-reports-to-be-clickable/314438
**Category:** Data & reporting
**Created:** [7월 1, 2024, 10:58오전 UTC](https://meta.discourse.org/t/allow-topic-links-in-reports-to-be-clickable/314438 "2024-07-01T10:58:10Z")
**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: [7월 1, 2024, 12:07오후 UTC](https://meta.discourse.org/t/allow-topic-links-in-reports-to-be-clickable/314438/2 "2024-07-01T12:07:49Z")

</div>

사이트 내에서 표시되는 보고서의 경우, `topics`(또는 `posts` 등) 테이블의 `id`를 별칭으로 지정하고 데이터 탐색기의 마법을 이용해 이를 사용 가능한 링크로 변환할 수 있습니다:

```sql
SELECT 
    id AS topic_id
FROM topics

```

URL을 구성하고 `SOMETHING_url`이라는 별칭을 지정하면 하이퍼링크로 변환할 수도 있습니다. 예시:

```sql
SELECT 
  'https://meta.discourse.org/t/' || slug || '/' || id AS topic_url
FROM topics

```

도움이 되셨나요?

---

_[View the full topic](https://meta.discourse.org/t/allow-topic-links-in-reports-to-be-clickable/314438)._
