title: Error Code: 1048, SQL State: 23000 Column 'colegiado_id' cannot be null
body: <p>this error
  "[Error Code: 1048, SQL State: 23000]  Column 'colegiado_id' cannot be null"</p>
  
  <p>appears when I try to run the code below, direct in the mysql:</p>
  
  <pre><code>start transaction;
  INSERT INTO EspecialistasColegiados (colegiado_id, especialista_id) (
      select
          col.id as colegiado_id,
          esp.id as especialista_id
  
      from Especialista esp
          inner join importacao imp ON imp.idimportacao = esp.id
          left join Colegiado col ON col.nome like concat('%',imp.CURSOS,'%')
      );
  rollback;
  </code></pre>