_SQLINFO("COUNT(F.LOGICALREF)","LG_001_03_ORFLINE S, LG_001_03_ORFICHE F","S.SHIPPEDAMOUNT=S.AMOUNT AND S.ORDFICHEREF=F.LOGICALREF AND F.TRCODE=1")
SQLINFO("COUNT(F.LOGICALREF)","LG_001_03_ORFLINE S, LG_001_03_ORFICHE F","S.SHIPPEDAMOUNT < S.AMOUNT AND S.ORDFICHEREF AND F.TRCODE=1")
bi yol daha var,
bu sorguları view olarak kaydederseniz çağırması daha kolay olur. yani şöyle
CREATE VIEW DENEME AS
SELECT COUNT(F.LOGICALREF)
FROM LG_001_03_ORFLINE S, LG_001_03_ORFICHE F
WHERE S.SHIPPEDAMOUNT=S.AMOUNT AND S.ORDFICHEREF=F.LOGICALREF AND F.TRCODE=1