Skip to main content
Question

Nested SQL Catalog Items

  • February 26, 2025
  • 1 reply
  • 26 views

Forum|alt.badge.img

Hello, 

Can we create nested sql catalog items.  Meaning, can I use a SQL catalog item in the query as a source to another sql catalog item?  

1 reply

Albert de Ruiter
Rocket Pioneer L1
Forum|alt.badge.img+4

Hi ​@kellymremzilyb ,

When creating a SQL catalog item, to my knowledge you always refer to a physical data source. So to achieve what you describe, the following suggestions may be of help.

  1. In the data source create a view that matches the logic of the intended nested catalog item (so a view that contains common table expressions or subqueries)
  2. Define the nested logic in the SQL catalog item itself.

Kind regards,

Albert