I have a table in sql server like this
I formatted this data in html
SELECT Isnull(dbo.Rtrimwhitespace(Ltrim([read date])), 'NULL') AS [td],
Isnull(dbo.Rtrimwhitespace(Ltrim([collection configuration])), 'NULL') AS [td],
Isnull(dbo.Rtrimwhitespace(Ltrim([summary type])), 'NULL') AS [td],
Isnull(dbo.Rtrimwhitespace(Ltrim([total number])), 'NULL') AS [td],
Isnull(dbo.Rtrimwhitespace(Ltrim([# mep count])), 'NULL') AS [td],
Isnull(dbo.Rtrimwhitespace(Ltrim([% mep])), 'NULL') AS [td]
FROM ##collection_window_monitor
ORDER BY [read date] ASC,
[collection configuration] ASC,
[summary type] ASC,
[total number] ASC,
[# mep count] ASC,
[% mep] ASC
FOR xml raw('tr'), elements
Now I want to add style for the trs where [summary type] like '%Not Valid%'
How can I do that?