# SQL Editor colors

**URL:** <https://community.amazonquick.com/t/sql-editor-colors/17255>\
**Category:** Q&A\
**Tags:** SQL, error, quick-sight\
**Created:** [August 21, 2023, 6:24pm UTC](https://community.amazonquick.com/t/sql-editor-colors/17255 "2023-08-21T18:24:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeke](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/zeke/32/8499_2.png) [@Zeke](https://community.amazonquick.com/u/Zeke)\
**Post date:** [August 21, 2023, 6:24pm UTC](https://community.amazonquick.com/t/sql-editor-colors/17255/1 "2023-08-21T18:24:21Z")

</div>

Hi!  
I got this question archived:

> [@Query syntax colors not working](https://community.amazonquick.com/t/query-syntax-colors-not-working/17246):
>
> Hi there! I’ve been facing this problem for some time now. More often than not, when I open a new query editor the syntax colors do not work and it looks like this: [sql] which is quite annoying when working with a long, complex query. Is there a solution for it? Thanks!

but the answer is not what I was looking for, Quicksight has a built in theme for query editing which shows clauses such as “SELECT”, “WHERE”, etc. in blue, numbers in green and so on. I am not referring to a custom theme like in VSCode. The problem is it does not always work.

---

<div class="post-metadata">

**Author:** ![David\_Wong](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/david_wong/32/15630_2.png) [@David\_Wong](https://community.amazonquick.com/u/David_Wong)\
**Post date:** [August 21, 2023, 7:10pm UTC](https://community.amazonquick.com/t/sql-editor-colors/17255/2 "2023-08-21T19:10:48Z")

</div>

Hi @Zeke,

I think this is what you’re referring to.  
 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/2X/c/c22f87803f9747e1f2a7ecc3ed97d74b1c24caa5.png)

I think this might be a bug. Sometimes I see the different colors like in the above screenshot and at other times I see everything in black. I can’t tell if there’s a pattern. Even for the same dataset the behaviour changes.

---

<div class="post-metadata">

**Author:** ![WLS-DM](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/wls-dm/32/36109_2.png) [@WLS-DM](https://community.amazonquick.com/u/WLS-DM)\
**Post date:** [August 21, 2023, 9:35pm UTC](https://community.amazonquick.com/t/sql-editor-colors/17255/3 "2023-08-21T21:35:06Z")

</div>

@Zeke my apologies on that. I think I misunderstood the initial message, but you are right. If it isn’t displaying those specific SQL clauses consistently, that definitely seems like a bug.

I can tag this ticket as such to try to sort out a fix within Quicksight. Thanks for following up even after I archived it!
