sql - Access Query Criteria -


i need syntax microsoft access query criteria states that

if tbla.cola = tblb.cola ,    tbla.colb = tblb.colb ,    tblb.colc = queryfielda ,    tblb.cold = queryfieldb      give me number in tblb.col e end if 

any suggestions?

i assume 2 tables have joined on cola , colb (difficult without knowing structure of tables).

select tblb.cole     tbla     inner join tblb         on tbla.cola = tblb.cola ,            tbla.colb = tblb.colb      tblb.colc = queryfielda ,     tblb.cold = queryfieldb 

Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -