working sql + table dump