I'm trying to analyze gift data using SQL. I can't find how Raiser's Edge relates the GIFT table to the FUND table. There isn't a FUND_ID field in the GIFT table, nor a join table, such as GIFT_FUND.
I'd think I should be able to run a very simple query such as
SELECT [fields] from GIFT g JOIN FUND f ON g.FUND_ID = f.ID
or
SELECT [fields] from GIFT g JOIN GIFT_FUND gf ON g.ID = fg.GIFT_ID JOIN fund f ON fg.FUND_ID = f.ID
Can anyone help?