Check out example codes for "MySQL WHERE". It will help you in understanding the concepts better.

Code Example 1

SELECT 
    select_list
FROM
    table_name
WHERE
    search_condition;
    AND OR Like In Is
    officeCode = 1;

Learn ReactJs, React Native from akashmittal.com