INSERT INTO table (id,type) VALUES ( id, COALESCE(?,defaulttypevalue) )