我在 SQL Server 2008 中有两个表:
Customer:(customerid, customername仅包含一行)Product:(productid, productname, category, price包含多行)
我想在单个存储过程中使用 2 个选择语句customername从customer表和表中productname,category,price获取。product
怎么做?
我在 SQL Server 2008 中有两个表:
Customer:(customerid, customername仅包含一行)
Product:(productid, productname, category, price包含多行)
我想在单个存储过程中使用 2 个选择语句customername从customer表和表中productname,category,price获取。product
怎么做?