Replies: 1 comment
-
Hi! if your table has a row (even with a single column and a value of NULL), then it is not considered empty. You should add a where condition to the query that computes the total. select 'table' as component;
select name, value, total from products;
select sum(total) as total from products having count(*)>0; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a table component as the last (or only) item on the page and the associated table query returns no rows SQLPage does not display the "empty_description" field.
Example code
Beta Was this translation helpful? Give feedback.
All reactions