Загрузка данных


select
    column_name,
    data_type,
    udt_name
from information_schema.columns
where table_schema = 'ourpension'
  and table_name = 'contract'
  and column_name in ('agent_id_1c', 'agent_id');