Question: Find the last name of the first ever contact person of the organization with the highest UK Vat number.
Schema: create table organizations (uk_vat_number integer, PRIMARY KEY (uk_vat_number)); create table individuals (individual_last_name varchar, individual_id varchar, PRIMARY KEY (individual_last_name)); create table organizations (organization_id varchar, uk_vat_number integer, PRIMARY KEY (organization_id)); create table organization_contact_individuals (organization_id varchar, individual_id varchar, date_contact_to varchar, PRIMARY KEY (organization_id))
SQL: select t3.individual_last_name from organizations as t1 join organization_contact_individuals as t2 on t1.organization_id = t2.organization_id join individuals as t3 on t2.individual_id = t3.individual_id where t1.uk_vat_number = (select max(uk_vat_number) from organizations) order by t2.date_contact_to limit 1