With the macro table transformer I would like to change the colour of the row of the table depending on the status that is set at the first cell of each row.

For example: If the status is yellow with title "In Bearbeitung" then the entire row should be displayed in light yellow. If the status is red with title "Offen" then the entire row should be displayed in light red an so on...
What would be the sql query for this case?
Any help is highly appreciated!