select * from comment c left join article a on c.art_id=a.art_id where c.is_show=1
select * from comment as c left join article as a on c.art_id=a.art_id where c.is_show=1应该相同结果啊。建议楼主能提供 create table , insert into 的测试用例。
select * from comment as c left join article as a on c.art_id=a.art_id where c.is_show=1应该相同结果啊。建议楼主能提供 create table , insert into 的测试用例。
解决方案 »
- 读整段TEXT时怎样保持原来段落
- mysql表单连接问题
- 急急急!!!mysql安装在Windows2003上错误error1335.请教
- Oracle和MySQL 启动的奇怪问题
- 在储存过程中怎么得到SELECT返回结果的条数??
- 几个数据库查询问题 急……
- MySQL不支持check怎么办?
- 求可视化的好一点的mysql工具和地址,要中文版的。(马上解决,马上给分。)
- 请教mysql高手,mysql哪一个命令能够得到一次得到当前数据库的描述信息?高额分
- MySQL中如何设置一个字段默认值为同一个表中另一个字段的值或另一个字段减去一个固定值
- 求大神解答远程连接的原理!
- mysql 异常错误消息
不应该存在相关问题,建立检查SQL语句