Originally posted by Nakata kokuyo: good day to all , can i know why i having error when i use the following query in my java application with mysql db ? ... SELECT * from tbl_user where 1=1 userid like '%user%' ...