[Solved] Concatenate ‘A’ with SQL query
Try following if your implementation is in SQL Server. SELECT tblgrade.fld1stGrade +’A’ FROM tblgrade WHERE CAST(tblgrade.fld1stGrade as int) >= 90 and cast(tblgrade.fld1stGrade as int) <= 99; For MySQL implementation use following. select concat(tblgrade.fld1stGrade, ‘A’) from tblgrade where tblgrade.fld1stGrade >= 90 and tblgrade.fld1stGrade <= 99; For multiple category comparison in MySQL, use something like below. select … Read more