Hi everyone,
i have a table with one field called "formulaId", another called "criterion" and another called "value". The thing is that for each formula, there are more criteria possible and of course more values as each criterion needs a value. For example:
formulaId criterion value
fm01 length 6000
fm01 printed yes
So now i want the formulaId where the criterion is length = 6000 AND printed='yes' but if i create a where clause like:
select formulaId from mytable where length=5000 and printed='yes' it does not retrieve anything.
What am i doing wrong?
i have a table with one field called "formulaId", another called "criterion" and another called "value". The thing is that for each formula, there are more criteria possible and of course more values as each criterion needs a value. For example:
formulaId criterion value
fm01 length 6000
fm01 printed yes
So now i want the formulaId where the criterion is length = 6000 AND printed='yes' but if i create a where clause like:
select formulaId from mytable where length=5000 and printed='yes' it does not retrieve anything.
What am i doing wrong?