title: How to compare value with column values in multiple table whose column names are same?
body: <p>I have five different tables with same column names in the database. I want to check whether a string value matches with the column value of any of the five table.</p>
  
  <p>For example: I have database that contains exam results of 8th standard. Five different table contains marks of each student. The first table contains marks of class 8th section A. The second table contains marks of class 8th section B. The Third table contains marks of class 8th section C. (So on)</p>
  
  <p>All the table has same column names. (Roll no, math marks, history marks, Geography marks and Social study marks)</p>
  
  <p>I want to fetch who have secured more than 90 in math. I want to know the single query of mysqli.</p>
  
  <p>Thanks in advance.</p>