摘要:
$gift_category->join('AS b /*INNER JOIN*/'); 阅读全文
摘要:
select `id`,`name`,`pid` AS `q_pid`,(select id From qiyu_gift_category where id = q_pid ) as root_id from qiyu_gift_category WHERE id = 1SELECT `id` ... 阅读全文