INSERT INTO tbloptions_static (NAME, VALUE, autoload) VALUES('service_categories', '[{"id":"402","name":"General Contractors","icon":"Additions-Remodeling.svg","is_primary":"1"}]', 1);

INSERT INTO tbloptions (tenant_id, NAME, VALUE, autoload)
SELECT t.id,s.name,s.value,s.autoload
FROM tbltenants t
JOIN tbloptions_static s ON 1 = 1 AND s.name = 'service_categories'
WHERE t.id NOT IN (SELECT tenant_id FROM tbloptions WHERE NAME = 'service_categories');