SELECT GIFT.ID AS Gift_ID, GIFT.DTE AS Gift_Date, GiftSplit.Amount AS Gift_Amount,
GIFT_1.DTE AS Adjustment_Date, GiftPreviousSplit.Amount AS Adjustment_Amount

INNER JOIN GiftAdjustment ON GIFT.ID = GiftAdjustment.GiftId
INNER JOIN GiftSplit ON GIFT.ID = GiftSplit.GiftId
INNER JOIN GIFT AS GIFT_1 ON GiftAdjustment.AdjustmentId = GIFT_1.ID
INNER JOIN GiftPreviousSplit ON GIFT_1.ID = GiftPreviousSplit.GiftId

Disclaimer: Blackbaud provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes you are familiar with Structured Query Language and the tools used to create and modify SQL statements and Crystal Reports. Blackbaud Customer Support may help explain the functionality of a particular procedure, but we will not modify, or assist you with modifying, these examples to provide additional functionality.