Good Morning,
I was looking for a way to combine two integers to create a unique number, I have two tables that I need to combine into a third table with unique numb
You indicate that you are working with a table. This leads me to believe that you are working within a database.
So I have to ask, why not store them in separate columns and make them simple foreign keys? Why create the ambiguity of trying to concatenate or transform the numbers with a math equation?
If you use another table, you can use an auto increment field and the combination of the three fields (in the order you designate) will give you a unique ID.
|-------------------
| My_combine_table
|-------------------
| id | auto_inc
|-------------------
| SchoolID | ...
| SchoolID2 | ...