Hello! I have a question about tables in MySQL.
I'm currently making a website where I have files for people to download. Now I want to make a table in MySQL that will store the latest downloads, like if someone downloads file1.zip then it will add a row in the table with the filename and date, so that I can show on the front page "Most recently downloaded files" or something like that.
And since I only need to display like 5-10 items I don't have to store more in the table. So what I want to know is if it's possible to set a max limit to how many rows there can be in a table. Like if it's set to 10 and there is 10 entries in the table, the next time it tries to add one it will automatically delete the oldest one, so there's always only 10 rows in the table.