Another unknown column name error in ON clause

前端 未结 2 1514
失恋的感觉
失恋的感觉 2021-01-28 03:09

Query:

SELECT  c.title AS title
            , c.introtext AS body
            , c.state AS state
            , c.created AS created
            , c.created_by AS         


        
2条回答
  •  佛祖请我去吃肉
    2021-01-28 03:50

    You preform the join between jos_categories and jos_categories AS jc:

    jos_content AS c, jos_categories
    INNER JOIN jos_categories AS jc
    ON c.sectionid = jc.section
    

    but c is jos_content...

提交回复
热议问题