I need to update a bunch of records in my database that store a slug in an article table. I mistakenly set the slugs to end in "-html" rather than ".html" and I need a query that will fix this.

I don't really understand how to use variables, so I'm hoping someone here can help. 

Would someone please write for me a SQL query that's something like:

```
UPDATE table
SET table.slug = '%.html%'
WHERE table.slug LIKE '%-html%'

```

Obviously, that's not correct, but I don't know the correct way to write it.