• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what wrong with 1=1 ?

 
Nakata kokuyo
Ranch Hand
Posts: 465
  • 0
  • 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: 2576
11
C++ Linux Netbeans IDE
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic