with skus as ( select skuId, sku, skuDesc, sku + ' - ' + skuDesc as skuFull from tbl_DW_ProductHierarchy#_tableSuffix# ph where ph.ownerId = and ph.ownerType = ), skusFormatted as ( select * ,[#attributes.datastore.map[_mc]#] as [#_mc#] from skus ) #forJSON( 'skusFormatted', attributes.dataStore, 'sku' )#