I have an apex item P_USERS
which can have a value higher than the amount of rows returning from the query below.
I have a classic report which has the following query:
select
first_name,
last_name
from accounts
where account_role = 'Author'
order by account_nr;
I want placeholder rows to be added to the query (first_name = null
, last_name = null
etc.), if the total rows from the query is lesser than the value in the apex_item
P_USERS
.
Any tips on how to achieve this? Maybe with a LEFT join
?