for(1..5){ # of those smaller ones for(1..100){ # number of steps i do when iterating through the smal table for(1..10000){ # number of steps i do when iterating through big table //select a row } } }