How To Select Data Using Like From MySQL Tutorial Example
Open your MySQL Query Editor then copy & paste the below code to select or retrive rows data using LIKE from a database table "test" in MySQL Database Server
-- How To Select Data Using Like From MySQL Tutorial Example SELECT * FROM test WHERE TestName LIKE '%Do%'; -- that's it!! all rows and all columns of mysql database table "test" -- whose Name has the string "Do" have been selected
-- is comment in MySQL
-- in fact it is comment in MSSQL and Oracle as well
How To Select Data Using Like From MySQL Tutorial Example - Result in MySQL Query Editor
Related Tutorial Examples
- MySQL IFNULL() Function Datetime Example
- MySQL IFNULL() Nested Function Example
- MySQL IFNULL() Function String Example
- MySQL IFNULL() Function Number Example
- MySQL IFNULL() Function Boolean Example
- SELECT specific columns using SQL Command MySQL Example
- MySQL Stored Procedure: Batch Salary Increment Example
- 20 steps to make CakePHP Blog Project

No comments:
Post a Comment
leave your comments here..