商品_评价信息_sql记录

-- 根据id 查询 商品的 评价信息, 关联查询 评价用户的信息
select u.username, u.nickname, u.user_img, c.*
from product_comments c
inner join users u
on u.user_id = c.user_id
where c.product_id = 3;

posted on 2022-08-17 20:30  beyondx  阅读(23)  评论(0编辑  收藏  举报

导航