需要写一个tp的三表联查效果,但是手册里只有2表联查实例,例如:
Db::table('think_artist')
->alias('a')
->join('think_work w','a.id = w.artist_id')
->join('think_card c','a.card_id = c.id')
->select();上面是‘think_artist’重命名a以后内联‘think_work’表(重命名w),下面的是c表和a表的内联,但我要三表联查要怎么做?就好比查a-w-c表存在的数据。