MariaDB does not support the FULL OUTER JOIN explicitly. However, you can achieve the same result by combining LEFT JOIN and RIGHT JOIN or using UNION or UNION ALL keyword.
Here’s an example:
```
SELECT *
FROM table1
LEFT JOIN table2 ON table1.id = table2.id
UNION
SELECT *
FROM table1
RIGHT JOIN table2 ON table1.id = table2.id
```
In this example, we are joining table1 and table2 on id. The LEFT JOIN collects all records from table1 and the matched records from table2. The RIGHT JOIN collects all records from table2 and the matched records from table1. The UNION combines these two results to simulate a full outer join.
Please note UNION removes duplicate rows, if you want to keep all duplicates you should use UNION ALL:
```
SELECT *
FROM table1
LEFT JOIN table2 ON table1.id = table2.id
UNION ALL
SELECT *
FROM table1
RIGHT JOIN table2 ON table1.id = table2.id
```
Make sure the columns in your selected list are in the same order and are of compatible data types for the UNION or UNION ALL to work.