我很接近,现在我只是遇到了这段代码的问题。它说我需要在某处添加存在?谢谢您的帮助!
SELECT (SELECT UA#SacmiDataLog_2013.NS_Inlet_T
, UA#SacmiDataLog_2013.NSFlowRate
, UA#SacmiDataLog_2013.NSHeaterTank
, UA#SacmiDataLog_2013.NS_Outlet_T
, UA#SacmiDataLog_2013.NSTrPrAvg
, UA#SacmiDataLog_2013.NSPump1
, UA#SacmiDataLog_2013.NSPump2
, UA#SacmiDataLog_2013.NS_Visc
, UA#SacmiDataLog_2013.NS_Burner_B
WHERE
UA#SacmiDataLog_2013.NSHeatBatch = 'G23169') AS expr1
, (SELECT UA#SacmiDataLog_2013.OS_Inlet_T
, UA#SacmiDataLog_2013.OS_Outlet_T
, UA#SacmiDataLog_2013.OS_Burner_B
, UA#SacmiDataLog_2013.OSViscosity
, UA#SacmiDataLog_2013.OSHeaterTank
, UA#SacmiDataLog_2013.OSPump1
, UA#SacmiDataLog_2013.OSPump2
, UA#SacmiDataLog_2013.OSTrPrAvg
WHERE
UA#SacmiDataLog_2013.OSHeatBatch = 'G23169') AS expr2
FROM dbo.UA#SacmiDataLog_2013