D
dmills
Could Someone Tell Me What Is Wrong With This SQL... It keeps telling me that
the FROM Clause is the syntax problem...
SELECT tCurtran.TID, tCurtran.EDATE1, ICurtran.EDATE1, ICurtran.appsta
FROM [Curtran]
JOIN ICurtran on tCurtran.TID=ICurtran.TID
WHERE tCurtran.appsta in (8,9,10,11) and ICurtran.EDATE1>tCurtran.EDATE1 and
not exists
(SELECT 1 from BCurtran WHERE BCurtran.edate1 between tCurtran.EDATE1 and
ICurtran.EDATE1 and BCurtran.TID=tcurtran.TID)
I have a table [curtran] i need 3 instances of the table matched to itself:
tcurtran, icurtran, bcurtran
Thanks in advance
the FROM Clause is the syntax problem...
SELECT tCurtran.TID, tCurtran.EDATE1, ICurtran.EDATE1, ICurtran.appsta
FROM [Curtran]
JOIN ICurtran on tCurtran.TID=ICurtran.TID
WHERE tCurtran.appsta in (8,9,10,11) and ICurtran.EDATE1>tCurtran.EDATE1 and
not exists
(SELECT 1 from BCurtran WHERE BCurtran.edate1 between tCurtran.EDATE1 and
ICurtran.EDATE1 and BCurtran.TID=tcurtran.TID)
I have a table [curtran] i need 3 instances of the table matched to itself:
tcurtran, icurtran, bcurtran
Thanks in advance