I need two tables to query together, but not if the value is blank(it is empty, not NULL) so I need a conditional WHERE statement likeWHERE IF(p.PartNoAlias='',,w.PartNoAlias=p.PartNoAlias) what is the correct syntax?
↧