My SQL query is like this

```
SELECT `product_code`, `test`
FROM `table_products`
WHERE `product_code` IN ('38986', '222098', '1113426', '3645651', ...)

```

I would like the results to be ordered as in product\_code order shown in query and also when there is no matching for that product\_code in table, I would like to add an empty line in SQL result.