CREATE TABLE departments (department_id DECIMAL, department_name TEXT, manager_id DECIMAL, location_id DECIMAL)
CREATE TABLE jobs (job_id TEXT, job_title TEXT, min_salary DECIMAL, max_salary DECIMAL)
CREATE TABLE job_history (employee_id DECIMAL, start_date TIME, end_date TIME, job_id TEXT, department_id DECIMAL)
CREATE TABLE regions (region_id DECIMAL, region_name TEXT)
CREATE TABLE locations (location_id DECIMAL, street_address TEXT, postal_code TEXT, city TEXT, state_province TEXT, country_id TEXT)
CREATE TABLE countries (country_id TEXT, country_name TEXT, region_id DECIMAL)
CREATE TABLE employees (employee_id DECIMAL, first_name TEXT, last_name TEXT, email TEXT, phone_number TEXT, hire_date TIME, job_id TEXT, salary DECIMAL, commission_pct DECIMAL, manager_id DECIMAL, department_id DECIMAL)

What are all the employee ids and the names of the countries in which they work?
SELECT T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id
SELECT "T1"."employee_id", "T4"."country_name" FROM "employees" AS "T1" JOIN "departments" AS "T2" ON "T1"."department_id" = "T2"."department_id" JOIN "locations" AS "T3" ON "T2"."location_id" = "T3"."location_id" JOIN "countries" AS "T4" ON "T3"."country_id" = "T4"."country_id"