Alexa.com 190746 (World) - 4615 (TR)
0 Üye ve 4 Ziyaretçi konuyu incelemekte.
SELECT ITEMS.* FROM LG_001_ITEMS ITEMS (NOLOCK)WHERE LOGICALREF NOT IN ( SELECT STLINE.STOCKREF FROM LG_001_01_STLINE STLINE (NOLOCK) LEFT JOIN LG_001_CLCARD CLCARD (NOLOCK) ON CLCARD.LOGICALREF=STLINE.CLIENTREF WHERE STLINE.CANCELLED=0 AND CLCARD.CODE LIKE '120.01%' AND STLINE.DATE_ BETWEEN '20120101' AND '20121231' AND STLINE.TRCODE IN ( 8 ) GROUP BY STLINE.STOCKREF)