), qy ), je INT); INSERT INTO @t SELECT '产品一', '北京', UNION ALL SELECT '产品一', '上海', UNION ALL SELECT '产品二', '北京', UNION ALL SELECT '产品三', '上海', UNION ALL SELECT '产品三', '北京', UNION ALL SELECT '产品四', '上海', ; SELECT * FROM @t; SELECT * FROM @t a WHERE NO…