Simple way to create queries

Hi, I want to create a stack of let’s say 500 cards and whenever I feel like it, I want to set a query of 100 random cards from this deck. At the end of this quiz, every card that I marked as wrong, will be asked again. And next time, there will be another query with 100 random cards from this deck. Without any distiction between “easy”, “hard” etc. or when was the last time this card was asked to me.

Is it possible to create such queries? And if yes, how do I achieve that?

Thanks in advance!

This is the closest that you can get