Query editor
withall_swaps as (with individual_program_swaps as(selectcall_block_slot as block_slot,call_block_time as block_time,coalesce(call_tx_index,0) as tx_index,coalesce(call_outer_instruction_index,0) as outer_instruction_index,coalesce(call_inner_instruction_index,0) as inner_instruction_index,call_tx_id as tx_id,call_tx_signer as trader_id,call_outer_executing_account as outer_executing_account,account_tokenXMint as account_tokenXMint,account_tokenYMint as account_tokenYMint,account_reserveX as account_reserveX,account_reserveY as account_reserveY,account_lbPair as account_lbPair,call_is_inner as is_inner_swapfrom "delta_prod"."dlmm_solana"."lb_clmm_call_swap"where 1=1and call_block_time >= timestamp '2023-11-07'union allselectcall_block_slot as block_slot,call_block_time as block_time,coalesce(call_tx_index,0) as tx_index,coalesce(call_outer_instruction_index,0) as outer_instruction_index,coalesce(call_inner_instruction_index,0) as inner_instruction_index,call_tx_id as tx_id,call_tx_signer as trader_id,call_outer_executing_account as outer_executing_account,account_tokenXMint as account_tokenXMint,account_tokenYMint as account_tokenYMint,account_reserveX as account_reserveX,account_reserveY as account_reserveY,account_lbPair as account_lbPair,call_is_inner as is_inner_swapfrom "delta_prod"."dlmm_solana"."lb_clmm_call_swap2"where 1=1and call_block_time >= timestamp '2023-11-07'union allselectcall_block_slot as block_slot,