存储过程怎么使用两个表中相同的参数来查询数据?

2025-03-22 21:50:36
推荐回答(2个)
回答1:

select 表2.customerName,表2.orderID,表2.content
from 表1,表2
where 表1.customerName=表2.customerName and 表1.customerID=输入的customerID

回答2:

联合查询就可以