Table Transformer WHERE clause doesnt work

Nick Frazier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 28, 2023

Version = v9.12.1

On a single page I have 4 tables of the same structure (Team,Task, Description, Target).  On the parent page to that I'm trying to write a query that merges all of them and filters by Target fields. 

This is the query I'm using.  

SELECT * FROM T* WHERE "Target" = "Q4"

 

The issue is the result "The query returned no rows." when I know one of the subtables has that value.

1 answer

1 accepted

3 votes
Answer accepted
Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 28, 2023

Hi @Nick Frazier ,

The first thing that caught my eye is "Target" = "Q4".

If you refer to a column, you use 'Column_name'.

If you refer to a string, you use "Some_string".

Seems that you should change your query as:

SELECT * FROM T* WHERE 'Target' = "Q4"

Nick Frazier
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 28, 2023

D'oh.  That fixed it! Thanks.  I'm used to python where " and ' are interchangeable.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events