Logo'da Varyantlı Satışlar raporu için bu sorguyu kullanabilirsiniz.
SELECT * FROM (SELECT DATE_ AS [TARİH],
(SELECT FICHENO FROM LG_215_01_STFICHE WHERE LOGICALREF=S.STFICHEREF)AS [FİŞ NO],
(SELECT CODE FROM LG_215_ITEMS WHERE LOGICALREF=S.STOCKREF ) AS [STOK KODU],
(SELECT NAME FROM...