I think you can use REGEXP instead of LIKE
SELECT trecord FROM `tbl` WHERE (trecord REGEXP '^ALA[0-9]')
More Related Contents:
- Restore table structure from frm and ibd files
- How to convert all tables from MyISAM into InnoDB?
- How to enable INNODB in mysql
- “Unknown column in ‘field list'”, but column does exist
- INSERT INTO SELECT statement with more columns which is not in another table
- MySQL how to fill missing dates in range?
- ‘IF’ in ‘SELECT’ statement – choose output value based on column values
- 1052: Column ‘id’ in field list is ambiguous
- How to split the name string in mysql?
- Is there a REAL performance difference between INT and VARCHAR primary keys?
- Why does MySQL allow “group by” queries WITHOUT aggregate functions?
- Cumulative sum over a set of rows in mysql
- How to set a maximum execution time for a mysql query?
- MySql: MyISAM vs. Inno DB! [closed]
- SQL keys, MUL vs PRI vs UNI
- Add Auto-Increment ID to existing table?
- MySQL SELECT DISTINCT multiple columns
- How to copy a row and insert in same table with a autoincrement field in MySQL?
- Using group by on two fields and count in SQL
- Can MySQL convert a stored UTC time to local timezone?
- Whats the fastest way to lookup big tables for points within radius MySQL (latitude longitude)
- MySQL CONCAT returns NULL if any field contain NULL
- Does Order of Fields of Multi-Column Index in MySQL Matter
- Alternative to using LIMIT keyword in a SubQuery in MYSQL
- How do I rename a MySQL database (change schema name)?
- MySQL Integer vs DateTime index
- How to format number with “.” as thousands separator and “,” as decimal separator?
- How to check if field is null or empty in MySQL?
- Should I always prefer MySQL InnoDB over MyISAM?
- mySQL regex in the where clause