Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

where price=7.99; in the select caluse is not working (1 reply)

$
0
0
Hi,

I have been trying to use the following command in the mysql> command prompt like this:

mysql> select column1, column2 from TableA where price=7.99;

It gives me the following response:

Empty set <0.00 sec>

Is it possible the mysql doesn't have = operator, but it works with the char variables just like it does in SQL.
Please let me know what's going on here.

Thanks,

cK

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>