Good day. There is such a table:
word TEXT, par1 INEGER, par2 INEGER, par3 INEGER It is necessary to set the parameter par3 based on the first parameter (par1). Example:
word par1 par2 par3 'someword' 100 0.25 3 'someword1' 200 0.50 2 'someword3' 400 0.25 1 That is, it turns out that the 3rd parameter is a kind of rating that will be based on the first parameter. The entry with the maximum value of par1 will correspond to the value number 1, and so on. The table now has about ~ 17k records, and here you need to set this third parameter in some way.
par1etc. .. I have questions to the author: is the table updated? Is it possible to remake the table schema? - Sanek Zhitnik