I'm using MySQL with Mybatis library. And I found the code below:

```
SELECT *
FROM tableA
WHERE xxx
ORDER BY ${inputA} ${inputB} 
LIMIT #{inputC}

```

I know there are many ways to inject the `ORDER BY`, but haven't found any example of injection in `ORDER BY` with a `LIMIT` behind.
I tried `UNION SELECT`, but MySql doesn't allow to use `order by` in `UNION`

MySQL's default settings do not allow the execution of multiple statements at one time. Is there a way to make an injection by building only one statement?