I have a query :
$sql = "SELECT * FROM table WHERE CONCAT(Prod, Serial) BETWEEN '$start' AND '$end'";
Where Prod and Serial are stored in MySQLi database as a string. I need to update details of items between say AA1000 and AA1005. When I run this query it updates details of units between AA1000 and AA1005 and, "as a bonus", all between AA10000 and AA10050. Is there a way to get exact match for the text type fields using BETWEEN query?
Thanks!
P.S. I know that I need update query to update details. I'm using SELECT for testing purposes.