C
carl
I use these 2 queries...
SELECT BTA_Trades.FirmId, Sum(BTA_Trades.TradeVolume) AS MM_NonPIP
FROM BTA_Trades
WHERE BTA_Trades.AccountType='MarketMaker' And
BTA_Trades.TradeType<>'Pip'
GROUP BY BTA_Trades.FirmId;
SELECT BTA_Trades.CounterpartFirmId, Sum(BTA_Trades.TradeVolume) AS
PA_OUT
FROM BTA_Trades
WHERE (((BTA_Trades.AccountNumber)='PA-OUT'))
GROUP BY BTA_Trades.CounterpartFirmId;
Is there a way to combine the queries so I don;t have to run each of
them ?
Thank You in Advance.
SELECT BTA_Trades.FirmId, Sum(BTA_Trades.TradeVolume) AS MM_NonPIP
FROM BTA_Trades
WHERE BTA_Trades.AccountType='MarketMaker' And
BTA_Trades.TradeType<>'Pip'
GROUP BY BTA_Trades.FirmId;
SELECT BTA_Trades.CounterpartFirmId, Sum(BTA_Trades.TradeVolume) AS
PA_OUT
FROM BTA_Trades
WHERE (((BTA_Trades.AccountNumber)='PA-OUT'))
GROUP BY BTA_Trades.CounterpartFirmId;
Is there a way to combine the queries so I don;t have to run each of
them ?
Thank You in Advance.