誰かがこれで私を助けることができますか? SELECT x.poid
, COUNT(b.poitemsid)
, SUM(SUM(unitprice) * SUM(qty))
, recievedate inventoryrecieved as c
FULL
OUTER
JOIN poitems b
ON c.poite
サンプルウェイでSQL Queryを以下のように簡略化しました。 私は従業員テーブルを次のレコードと共に使用しています。 CREATE TABLE EmployeeTran (
EMPID int NOT NULL,
Effectivedate datetime,
Amount INT
);
insert into EmployeeTran values(101,