如何在 notORM PHP 库上创建虚拟表。例如,我想像这样制作 sql:
SELECT *
FROM (SELECT *
FROM `user_share_table`
where `user_share_table`.share_valid=1 and
`user_sharetable`.flag=1
order by `user_share_table`.share_time desc
)t JOIN `goods_table`
ON `goods_table`.goods_id=`t`.goods_id
group by `t`.goods_id
order by `t`.share_time desc
limit 8