sql 语句 问题

SELECT top 500 bi_t_cls_info.*,pos_t_sale_detail.*,bi_t_item_info.*,bi_v_branch_info.* from
bi_t_item_info, bi_t_cls_info,pos_t_sale_detail,bi_v_branch_info where bi_t_cls_info.cls_no=bi_t_item_info.cls_no  
and  pos_t_sale_detail.item_no=bi_t_item_info.item_no
and bi_v_branch_info.branch_no=pos_t_sale_detail.branch_jg  

and  branch_jg=${branch_jg} and  cls_name=${cls_name}  and item_barcode=${item_barcode}


最后共同关联字段连完了  接参数 用and 不对么  该用什么连 谢谢  
FineReportzz69W7 发布于 2017-5-28 13:49
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共2回答
最佳回答
0
cherishdqy发布于2017-5-28 13:49(编辑于 2023-9-6 09:34)
555
  • zz69W7 zz69W7(提问者)

    没加引号 发布完问题就看到了  
    回复
    2017-05-28 14:05 
最佳回答
0
zz69W7发布于2017-5-28 14:05(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 313浏览人数
  • 最后回答于:2017-5-28 14:05
    活动推荐 更多
    热门课程 更多
    返回顶部