JOIN Queries
The Blackbaud Raiser's Edge NXT Adapter supports standard SQL joins like the following examples.
Inner Join
An inner join selects only rows from both tables that match the join condition:
SELECT c.Category, c.Fundraisers, c.Summary, o.Name, o.PhoneDoNotCall FROM Actions c INNER JOIN Constituents o ON c.ConstituentId = o.Id
Left Join
A left join selects all rows in the FROM table and only matching rows in the JOIN table:
SELECT c.GiftStatus, o.CheckNumber, o.CheckoutTransactionId, o.PaymentMethod FROM Gifts c LEFT JOIN GiftPayments o ON c.Id = o.GiftsId