Select into relation already exists postgresql server. fixture_type_id) AS count FROM aim.