If I have two parameter "parameterX" and "parameterY"
and I'll using "parameterX" and "parameterY" to commend sql snytax
like as
select * from test.test where
IF(parameterY!=0)
THEN test.test.'x'=parameterX AND test.test.'y'=parameterY
ELSE IF
test.test.'x'=parameterX
END IF
I know this's can't work But I want to know have a other way like it and it can work in mysql