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.
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)
All the table has same column names. (Roll no, math marks, history marks, Geography marks and Social study marks)
I want to fetch who have secured more than 90 in math. I want to know the single query of mysqli.
Thanks in advance.