# Seleccionar el trimestre de forma personalizada

**URL:** <https://meta.discourse.org/t/selecting-the-quarter-results-in-custom-way/237598>\
**Category:** Product Support\
**Created:** [30 Agosto, 2022 15:25 UTC](https://meta.discourse.org/t/selecting-the-quarter-results-in-custom-way/237598 "2022-08-30T15:25:44Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![simonk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simonk/32/247950_2.png) [@simonk](https://meta.discourse.org/u/simonk)\
**Post date:** [31 Agosto, 2022 16:29 UTC](https://meta.discourse.org/t/selecting-the-quarter-results-in-custom-way/237598/5 "2022-08-31T16:29:07Z")

</div>

Tu consulta solo devolvería temas si se hubieran creado exactamente a medianoche en esa fecha. Si buscas temas creados en cualquier momento de ese día, usarías algo como esto:

```sql
SELECT * FROM topics
WHERE created_at >= '2022-05-01'
AND created_at < '2022-05-02'

```

---

_[View the full topic](https://meta.discourse.org/t/selecting-the-quarter-results-in-custom-way/237598)._
