I have a table that I have created in database. I am creating a table in PHP with these data, also columns. I need to divide the result set of a table into two tables, without losing the relations(name of columns) if there are too many values in the first table. So, in the first table i want to have not more than 7 rows. If there are more than 7 rows i want it to be displayed on another table. How can I do this?