"pivoting" list sql (i.e. querulous tabulation / crosstabulation)
i'm operative perplexing beget news integrate database tables. simplified chronicle looks this
campaign
----------
campaignid
source
-----------------------
source_id | campaign_id
content
---------------------------------------------------------
content_id | campaign_id | content_row_id | content_value
the news needs review this:
campaignid - sourceid - contentrowid(value(a)) - contentrowid(value(b))
where contentrowid(value(a)) means "find quarrel given campaignid, contentrowid "a" following contentvalue row"
essentially, i have "pivot" (i cruise that's repremand term) rows columns...
it's an seer 10g database...
any suggestions?
Comments
Post a Comment