sql语句错误

1.今天在使用count(*)时报错:

原sql语句:

String sql="select count  (*) from customer";

改正后:

String sql = "select count(*) from customer";

注意:count与(*)之间不要有空格

 

posted @ 2016-04-12 11:05  破玉  阅读(176)  评论(0编辑  收藏  举报