I have this table:
Name ID State
====== == ============
sarah 1 arizona
daniel 2 california
disney 3 Arizona
dee 4 wyoming
eee 5 texas
ape 6 oklahoma
eee 7 kansas
csdsd 8 iowa
dfsdf 9 utah
deep 10 northdakota
I want to select 1 random record in a group of 5 and place it in a different table. Is it possible?
For example, for first group(ID 1 to 5) I want to select any ID. Similarly in the second group(6 to 10), I have to select any ID.