# 스크립트를 만들었는데 오류 메시지가 나옵니다. 피드백이나 조언을 구합니다

**URL:** https://meta.discourse.org/t/created-a-script-but-receiving-an-error-message-would-love-some-feedback-advice/251842
**Category:** Data & reporting
**Tags:** sql-query
**Created:** [1월 15, 2023, 5:38오후 UTC](https://meta.discourse.org/t/created-a-script-but-receiving-an-error-message-would-love-some-feedback-advice/251842 "2023-01-15T17:38:34Z")
**Posts on this page:** 1
**Showing post:** 3

<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: [1월 15, 2023, 6:55오후 UTC](https://meta.discourse.org/t/created-a-script-but-receiving-an-error-message-would-love-some-feedback-advice/251842/3 "2023-01-15T18:55:49Z")

</div>

이 게시글에서 가져온 것 같습니다:

> [@User participation](https://meta.discourse.org/t/user-participation/275012):
>
> User participation Shows the following columns over a specified time range (in days): user\_id, username, name, email, visits, topics\_viewed, posts\_read, posts\_created, topics\_created, topics\_with\_replies, likes\_given, likes\_received Full query: -- [params] -- int :from\_days\_ago = 0 -- int :duration\_days = 30 with t as ( select CURRENT\_TIMESTAMP - ((:from\_days\_ago + :duration\_days) \* (INTERVAL '1 days…

하지만 @Drew-ART님, 일부만 골라 쓰는 것이 아니라 누락된 부분을 보완하도록 수정한 전체 쿼리를 사용해야 합니다.

---

_[View the full topic](https://meta.discourse.org/t/created-a-script-but-receiving-an-error-message-would-love-some-feedback-advice/251842)._
