hello to all, i have a project in my mind and i am try to make it run. My experience with mysql is very low so i need your help.

So i have create a database with a table named test in this table is 24 fields (columns) as following :

1 : id = auto-number field
2 : number = int primary key
3 : date = date
4 : time = time
5 :No1 = number (max 2 digit)
6 :No2 = number (max 2 digit)
7 :No3 = number (max 2 digit)
8 :No4 = number (max 2 digit)
9 :No5 = number (max 2 digit)
10 :No6 = number (max 2 digit)
11 :No7 = number (max 2 digit)
12 :No8 = number (max 2 digit)
13 :No9 = number (max 2 digit)
14 :No10 = number (max 2 digit)
15 :No11 = number (max 2 digit)
16 :No12 = number (max 2 digit)
17 :No13 = number (max 2 digit)
18 :No14 = number (max 2 digit)
19 :No15 = number (max 2 digit)
20 :No16 = number (max 2 digit)
21 :No17 = number (max 2 digit)
22 :No18 = number (max 2 digit)
23 :No19 = number (max 2 digit)
24 :No20 = number (max 2 digit)
+++++++++++++++++++++++++++++++++++++++++

Thats my database right now, and i have insert 25.034 records at the moment. one record has id,number,date,time and 20 numbers (No1-No20) with numbers between 1-80 with no duplicates of-course on each record.

You may easy understand that this is some lottery game records. so far so good.

what i want to do? easy to say but i don't even know if is possible.....

My point is to check IF there is some duplicate records between fields (No1 and No20) and check IF there is some probability the "lottery system" to make some "loops" and IF it does... i just want to see the periodically of looping.

please don't with me, i just want to check my thoughts.

Any help or idea is welcome.

Thanks