select username,(select count(noteid) from Note where userid=User.userid group by userid)d from User
解决方案 »
- Hibernate支持Mysql的ifnull函数吗?
- slow log里面的sql执行时间跟mysql workbench的不一样?
- 这个sql语句查出来的数据怎么绑定到repeater
- 两个表都有id字段用left join连接后怎么分别获取
- 求一HQL语句~~~~~~~!!
- mysql最好的图形化前端设计工具是什么?mysql-front到2.5就不再开发了吗?
- 怎么办?救命!
- 我在WIN2K SERVER装了MSSQL-3.23.53版本,但MYODBC不能链接上,我该怎么做?
- 大家的mysql 数据同步机制replication是如何监控的
- 写mysql的函数出错了
- 为什么会有重复数据?
- 如果一个字段有多个数据
错误
SQL 查询: SHOW KEYS FROMMySQL 返回:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1