I have the following statement that works in Visual Foxpro:
SELECT distinct auvcov.covtyp,aucoty.des,auvcov.vehnbr FROM auvcov
INNER JOIN aucoty ON UPPER(aucoty.covtyp) = UPPER(auvcov.covtyp) WHERE
between(STR(anumber,11,3)+STR(bnumber,2,0),STR(" & Anumber &
",11,3)+STR(0,2,0),STR(" & Bnumber& ",11,3)+STR(99,2,0))
Now I want to run it in MySQL. How can I correctly convert the statement?