Question: I have a table consists of table name, for example:

TableA

```
    UID  TableName  CifKey  ...
    1     xxx       12345
    1     yyy       12345
    1     xxx       12345
    2     zzz       45678

```

How can I select data from tables that having name same as the `TableName` column in Table A?

For example:

```
SELECT A.a, B.b 
FROM TableA A 
JOIN ' + @TableName + ' B ON A.Cifkey = B.Cifkey 
WHERE A.uid = @uid AND A.cifkey = @cifkey

```

Thank you!

Answer: 
In my case, I was having this issue in my localhost after using production DB. I tried setting up max\_input\_vars but that didn't work. But clearing cookie settings such cookie path and domain works. So, go to stores -> configuration then General —> Web —> Default Cookie settings and remove values for cookie path and domain. Then clear magento2 configuration cache using bin/magento cache:clean config. This should resolve it.
Please ask hosting provider to increase php\_value `max_input_vars 75000`.