常用sql语句总结 Hyinglin 2023-11-23 39 阅读1分钟 第一、根据id查询订单和订单关联的客户信息 select * from t_order tor join t_customer tcu on tor.customer_id = tcu.customer_id where tor.order_id = #{id}