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’

Leave a Reply

Related Posts: You may like

comma separated values in mysql query

Php pdo prepared statements select insert update queries

php pdo queries statements select insert update delete

Selecting data from more than 2 tables or three tables using mysql joining


Crypto Currency

PHPKIDA provides free online the best real-time crypto market price, news, predictions, index with graphs & historical data for 2000+ coins including bitcoin, ethereum, & altcoins from major cryptocurrency exchanges.

Visite Tool

Icon Generator

PHPKIDA provides free online icon generator. Our icon generator help you to edit, modify, resize and customize icon for your website and applications. Convert to a shap you like add icon border, you can change icon border color, border size, background color, icon shadow, icons color, icon size in your own way and save it as a png image.

Visite Tool

Youtube Video Downloader

PHPKIDA provides Free online YouTube video downloader to download YouTube videos quickly in MP4, 3GP, and more. Search your video and free fast download youtube videos.

Visite Tool

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.