I have six tables as set up as shown below:
Primary key: ID
Table Names: Table_1, ..., Table_6
I am having trouble in setting up the case-when statements t