SQL statement to retrieve names beginning with A

In MySQL use the ‘^’ to identify you want to check the first char of the mysql table filed then you can do like below example.

SELECT * FROM `table_name` WHERE field_name REGEXP '^a'

If you want to check more then a alfa letters of the string then define the array [] of letters you want to check then have look below code.

SELECT * FROM `table_name` WHERE field_name REGEXP '^[abc]'

Tags – SQL statement to retrieve names beginning with letters

find all the name using mysql query which start with the letter ‘a’, Display result according to alfa letters mysql query, Show records where the name start with “A”, SQL query to show record whose name ends with particular letters, SQL statement to retrieve names beginning with A, SQL Query To select Employee name Start with A, Searches related to sql query to find name start with ‘a’, sql query to find name starts with ‘a’, write a query to display all 6-letter names that start with a, sql like in, sql ends with number, sql contains character, sql include, sql query starts with a specific letters, sql query to find name start with ‘a’

Mukesh Jakhar - PHP Web Developer
Mukesh Jakhar

This is Mukesh Jakhar. I’m a professional web developer with 3+ years experience. I am always ready for freelance work and i am writing blogs in my free time. I love to learn new technologies and share with others.

I founded PHPKIDA in September 2015. The focus of this website to provide web development tutorials of PHP, WordPress, CodeIgniter, Jquery, MySQL, HMTL, CSS etc and sharing solution to problems which i already solved.

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.