Dynamically generate the queries to load a partitioned store_sales table...

....
Done.