Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what wrong with 1=1 ?

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good day to all ,

can i know why i having error when i use the following query in my java application with mysql db ?



i get the following error :
 
Jan Cumps
Bartender
Posts: 2596
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
...

...


You forgot the AND between two where clauses.

Regards, Jan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic