Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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!
Sep 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.
Sep 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!
Sep 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