Given the following table data:
+------+---------+----------+----------+-------------+------------+-----------------+---------------------+
| id | version | quantity | state | orderLineId | locationId | stockMoveTaskId | created |
+------+---------+----------+----------+-------------+------------+-----------------+---------------------+
| 3277 | 0 | 2 | created | 169108 | 5692 | NULL | 2017-09-07 14:55:41 |
| 3073 | 0 | 2 | unpacked | 169108 | 5692 | NULL | 2017-09-07 09:40:35 |
+------+---------+----------+----------+-------------+------------+-----------------+---------------------+
Using MySQL - how can I delete all rows containing the state 'created' only when the table also contains a row with the state 'unpacked' given the order line id?