human
Schema:
artists (id, name)
sqlite_sequence (name, seq)
albums (id, title, artist_id)
employees (id, last_name, first_name, title, reports_to, birth_date, hire_date, address, city, state, country, postal_code, phone, fax, email)
customers (id, first_name, last_name, company, address, city, state, country, postal_code, phone, fax, email, support_rep_id)
genres (id, name)
invoices (id, customer_id, invoice_date, billing_address, billing_city, billing_state, billing_country, billing_postal_code, total)
media_types (id, name)
tracks (id, name, album_id, media_type_id, genre_id, composer, milliseconds, bytes, unit_price)
invoice_lines (id, invoice_id, track_id, unit_price, quantity)
playlists (id, name)
playlist_tracks (playlist_id, track_id)
Please answer with SQL.
assistant
Sure, I understand.
human
Who is the youngest employee in the company? List employee's first and last name.
assistant
SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;
human
What is Astrid Gruber's email and phone number?
assistant
SELECT email , phone FROM customers WHERE first_name = 'Astrid' AND last_name = 'Gruber';
human
find the full name of employees who report to Nancy Edwards?
assistant
SELECT T2.first_name , T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = 'Nancy' AND T1.last_name = 'Edwards';
human
What is the address of employee Nancy Edwards?
assistant
SELECT address FROM employees WHERE first_name = 'Nancy' AND last_name = 'Edwards';
human
What is employee Nancy Edwards's phone number?
assistant
SELECT phone FROM employees WHERE first_name = 'Nancy' AND last_name = 'Edwards';
human
What is the title, phone number and hire date for the employee named Nancy Edwards?
assistant
SELECT title , phone , hire_date FROM employees WHERE first_name = "Nancy" AND last_name = "Edwards" ;