开发者

mysql SQL_CALC_FOUND_ROWS problem with join

开发者 https://www.devze.com 2023-01-20 03:15 出处:网络
Why this query returning 0 rows? SELE开发者_开发问答CT SQL_CALC_FOUND_ROWS a.*, b.id AS key1, b.name AS catname

Why this query returning 0 rows?

SELE开发者_开发问答CT SQL_CALC_FOUND_ROWS a.*, b.id AS key1, b.name AS catname 
FROM #__cd_ads a
LEFT JOIN #__cd_categories b ON a.type = b.id

when removed b.id AS key1, b.name AS catname than works.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号