"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

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?