jeudi 12 mai 2022

MySQL insert at random position

I want to build a poll where the answers are not assignable to the voters. But I need to keep track of who already voted. So I have two different MySQL tables, one for answers and one for voters. But by the order of the elements as they are inserted in both tables, one could figure out from whom which answer is. So is it somehow possible to change the order in which the items are stored, randomly?




Aucun commentaire:

Enregistrer un commentaire