added some table definitions in sql scripts
problem->challenge
add coalesce for total_prod