If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySql Newbie

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-27-11, 15:24
Chrisad Chrisad is offline
Registered User
 
Join Date: Aug 2011
Posts: 10
Question MySql Newbie

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
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On