MySQL table generated