Each deployment has a unique ID. First check which row the ID identifies. Then keep the WHERE clause and use SET to give a column its new value. Run the statements separately so you can inspect the preview.
SELECT * FROM deployments WHERE id = 41;
UPDATE deployments SET service = 'gateway' WHERE id = 41;Change the starter query to show deployment 43 and run it. Look at its service name. Replace the SELECT with an UPDATE that sets service to frontend for the same ID. Check which cell changed.