Having a database with 2 tables as following:
Table 1
[varchar]name | [int]rank | [int]id | [int]rank2 | [int]priority | [int]cycle | [int]cycle2