在一行而不是两列中显示查询结果 Google 张

Display query result in one row instead of two column Google Sheets

=QUERY('BETA - Orders'!$D:$U,"Select Q,K where D='"& I228 &"' and Q is not null and D is not null",0)

我想只在一列而不是两行中显示结果。上面查询的结果是

我想完成的是

尝试:

=QUERY(FLATTEN(QUERY('BETA - Orders'!$D:$U,
 "select Q,K 
  where D='"&I228&"' 
    and Q is not null 
    and D is not null", 0)), 
 "where Col1 is not null", 0)