Thread
:
"Condition table" query
View Single Post
#
6
(
permalink
)
05-28-2008, 01:02 PM
Unregistered
Posts: n/a
ANY
answer.
Re: "Condition table" query
[sql]select t.* , l.calctype
from trans_table t join lookup_table l
on l.plant in ('*', t.plant)
and l.group in ('*', t.group)
and l.workcentre in ('*', t.workcentre)
and l.wagetype in ('*', t.wagetype)[/sql]
Unregistered