Check out example codes for "how to select all attributes from a row if there is a certain string in it MySQL". It will help you in understanding the concepts better.
Code Example 1
SELECT column1, column2,... FROM table_name WHERE first_name = 'John' AND sales_in_year <= 50
Learn ReactJs, React Native from akashmittal.com