MYSQL INNER JOIN with possible empty fields

前端 未结 2 1641
灰色年华
灰色年华 2021-02-14 09:51

Ok, I have a problem with joining 2 tables (with INNER JOIN). First table containts categories list (ecc. for photo albums, or blog posts) while the second table contains \"the

2条回答
  •  耶瑟儿~
    2021-02-14 10:16

    Wouldn't it just be a

    LEFT JOIN photos
    

    Because you want the records reguardless of wether or not they are filled?

提交回复
热议问题