I have a Google Sheet as a resource, however I'm trying to create a search bar that searches a column with the name "Part short desc", I have tried double quotes, single quotes and neither work. This is my SQL query:
select * from {{ query1.data }} where 'Part short desc' ilike {{'%' + searchBox.value + '%'}};
If I change it to one of the single word columns it works fine without quotes. Am I missing something?
@Vince_Woodruff
The only thing I find lacking in your query is using an alias, ...FROM {{ query1.data }} T WHERE T.*Part short desc*.... Replace the asterisks with backticks. Backticks work as I was able to run the following queries:
@jocen please see screenshot, not working and you can see the string is not being seen as a whole entity as 'desc' is a different color than 'Part short'. Is there documentation somewhere on this? I haven't been able to find.