I have a problem with my queries in MySQL. My table has 4 columns and it looks something like this:
id_users id_product quantity date 1
Best way to design table is add one temporary row as auto increment and keep as primary key. So we can avoid such above issues.