sql - data not present in 1 table but present in another -
select cast(tmi.mi varchar) tmi left outer join tcard on cast(tcard.cardnumber varchar) = cast(tmi.mi varchar) inner join tmims on cast(tmims.tmi_id varchar) = cast(tmi.id varchar) tmimsstatus_id = 0 , tmsrevision_id = 35 , tcard.cardnumber null , tmi.mi not null
hi all,
above sql using.
(the cast because getting conversion issues before not sure if i'm using them right)
i trying list of entries in tmi.ti tcard.cardnumber empty.
can going wrong.
before join 'tmims' table seems run give incorrect data.
any great.
Comments
Post a Comment