select and merge two tables with different granularity..

Original text of this message