Question: display all the information about the department Marketing.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , department_id (number)


Question: What is all the information about the Marketing department?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , department_id (number)


Question: display the ID for those employees who did two or more jobs in the past.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)


Question: What are the employee ids for those who had two or more jobs.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)


Question: What are the unique ids of those departments where any manager is managing 4 or more employees.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : department_id (number) , manager_id (number) , employee_id (number)


Question: Give the distinct department ids of departments in which a manager is in charge of 4 or more employees?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : department_id (number) , manager_id (number) , employee_id (number)


Question: Find the job ID for those jobs which average salary is above 8000.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : job_id (text) , salary (number) , employee_id (number)


Question: What are the job ids corresponding to jobs with average salary above 8000?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : job_id (text) , salary (number) , employee_id (number)


Question: display the employee ID and job name for all those jobs in department 80.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , job_id (text) , department_id (number) | jobs : job_title (text) , job_id (text)


Question: what are the employee ids and job titles for employees in department 80?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , job_id (text) , department_id (number) | jobs : job_title (text) , job_id (text)


Question: What is the first name and job id for all employees in the Finance department?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , job_id (text) , department_id (number) , employee_id (number) | departments : department_id (number) , department_name (text)


Question: Give the first name and job id for all employees in the Finance department.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , job_id (text) , department_id (number) , employee_id (number) | departments : department_id (number) , department_name (text)


Question: display all the information of the employees whose salary if within the range of smallest salary and 2500.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : salary (number) , employee_id (number)


Question: What is all the information regarding employees with salaries above the minimum and under 2500?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : salary (number) , employee_id (number)


Question: Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_id (number) , manager_id (number) | employees : department_id (number) , manager_id (number) , employee_id (number)


Question: What are the ids for employees who do not work in departments with managers that have ids between 100 and 200?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_id (number) , manager_id (number) | employees : department_id (number) , manager_id (number) , employee_id (number)


Question: display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , hire_date (time) , department_id (number) , employee_id (number)


Question: What are the full names and hire dates for employees in the same department as someone with the first name Clara?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , hire_date (time) , department_id (number) , employee_id (number)


Question: display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , hire_date (time) , department_id (number) , employee_id (number)


Question: What are the full names and hire dates for employees in the same department as someone with the first name Clara, not including Clara?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , hire_date (time) , department_id (number) , employee_id (number)


Question: display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a ’T’.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , department_id (number)


Question: What are the ids and full names for employees who work in a department that has someone with a first name that contains the letter T?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , department_id (number)


Question: display the employee number, name( first name and last name ), and salary for all employees who earn more than the average salary and who work in a department with any employee with a 'J' in their first name.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , salary (number) , department_id (number)


Question: What are the ids, full names, and salaries for employees making more than average and who work in a department with employees who have the letter J in their first name?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , salary (number) , department_id (number)


Question: display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , job_id (text) , salary (number)


Question: What are the employee ids and job ids for employees who make less than the lowest earning employee with title MK_MAN?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , job_id (text) , salary (number)


Question: display the employee number, name( first name and last name ) and job title for all employees whose salary is more than any salary of those employees whose job title is PU_MAN.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , job_id (text) , salary (number)


Question: What are the employee ids, full names, and job ids for employees who make more than the highest earning employee with title PU_MAN?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) , first_name (text) , last_name (text) , job_id (text) , salary (number)


Question: display the department id and the total salary for those departments which contains at least two employees.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : department_id (number) , salary (number) , employee_id (number)


Question: What are total salaries and department id for each department that has more than 2 employees?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : department_id (number) , salary (number) , employee_id (number)


Question: display all the information of those employees who did not have any job in the past.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) | job_history : employee_id (number)


Question: What is all the information about employees who have never had a job in the past?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : employee_id (number) | job_history : employee_id (number)


Question: display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , salary (number) , department_id (number) , employee_id (number)


Question: What are the department ids, full names, and salaries for employees who make the most in their departments?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , salary (number) , department_id (number) , employee_id (number)


Question: display the first and last name, department, city, and state province for each employee.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , department_id (number) , employee_id (number) | departments : department_name (text) , department_id (number) , location_id (number) | locations : city (text) , state_province (text) , location_id (number)


Question: What are the full names, departments, cities, and state provinces for each employee?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , department_id (number) , employee_id (number) | departments : department_name (text) , department_id (number) , location_id (number) | locations : city (text) , state_province (text) , location_id (number)


Question: display those employees who contain a letter z to their first name and also display their last name, city.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , department_id (number) , employee_id (number) | locations : city (text) , location_id (number) | departments : department_id (number) , location_id (number)


Question: What are the full names and cities of employees who have the letter Z in their first names?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , department_id (number) , employee_id (number) | locations : city (text) , location_id (number) | departments : department_id (number) , location_id (number)


Question: display the department name, city, and state province for each department.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , location_id (number) , department_id (number) | locations : city (text) , state_province (text) , location_id (number)


Question: What are the department names, cities, and state provinces for each department?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , location_id (number) , department_id (number) | locations : city (text) , state_province (text) , location_id (number)


Question: display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , employee_id (number) , department_id (number) | countries : country_name (text) , country_id (text) | departments : department_id (number) , location_id (number) | locations : location_id (number) , country_id (text)


Question: What the full names, ids of each employee and the name of the country they are in?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , employee_id (number) , department_id (number) | countries : country_name (text) , country_id (text) | departments : department_id (number) , location_id (number) | locations : location_id (number) , country_id (text)


Question: display the department name and number of employees in each of the department.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , department_id (number) | employees : department_id (number) , employee_id (number)


Question: What are the department names and how many employees work in each of them?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

departments : department_name (text) , department_id (number) | employees : department_id (number) , employee_id (number)


Question: display the full name (first and last name), and salary of those employees who working in any department located in London.

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , salary (number) , department_id (number) , employee_id (number) | departments : department_id (number) , location_id (number) | locations : location_id (number) , city (text)


Question: What are full names and salaries of employees working in the city of London?

regions : region_id (number) , region_name (text) | countries : country_id (text) , country_name (text) , region_id (number) | departments : department_id (number) , department_name (text) , manager_id (number) , location_id (number) | jobs : job_id (text) , job_title (text) , min_salary (number) , max_salary (number) | employees : employee_id (number) , first_name (text) , last_name (text) , email (text) , phone_number (text) , hire_date (time) , job_id (text) , salary (number) , commission_pct (number) , manager_id (number) , department_id (number) | job_history : employee_id (number) , start_date (time) , end_date (time) , job_id (text) , department_id (number) | locations : location_id (number) , street_address (text) , postal_code (text) , city (text) , state_province (text) , country_id (text)

employees : first_name (text) , last_name (text) , salary (number) , department_id (number) , employee_id (number) | departments : department_id (number) , location_id (number) | locations : location_id (number) , city (text)


Question: What is the name of the song that was released in the most recent year?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , releasedate (time)


Question: What is the name of the song that was released most recently?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , releasedate (time)


Question: What is the id of the longest song?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the id of the song that lasts the longest.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the names of all English songs.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , languages (text)


Question: What are the names of all songs in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , languages (text)


Question: What are the id of songs whose format is mp3.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: What are the id of all the files in mp3 format?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: List the name and country of origin for all singers who have produced songs with rating above 9.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , rating (number) , song_name (text)


Question: What are the different names and countries of origins for all artists whose song ratings are above 9?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , rating (number) , song_name (text)


Question: List the file size and format for all songs that have resolution lower than 800.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : file_size (text) , formats (text) , f_id (number) | song : f_id (number) , resolution (number) , song_name (text)


Question: What are the file sizes and formats for all songs with a resolution lower than 800?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : file_size (text) , formats (text) , f_id (number) | song : f_id (number) , resolution (number) , song_name (text)


Question: What is the name of the artist who produced the shortest song?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : artist_name (text) , f_id (number) , duration (text) | song : artist_name (text) , f_id (number) , song_name (text)


Question: What are the names of the artists who sang the shortest song?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : artist_name (text) , f_id (number) , duration (text) | song : artist_name (text) , f_id (number) , song_name (text)


Question: What are the names and countries of origin for the artists who produced the top three highly rated songs.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , rating (number) , song_name (text)


Question: What are the names of the singers who sang the top 3 most highly rated songs and what countries do they hail from?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , rating (number) , song_name (text)


Question: How many songs have 4 minute duration?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: What is the count of the songs that last approximately 4 minutes?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: How many artists are from Bangladesh?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text)


Question: How many Bangladeshi artists are listed?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text)


Question: What is the average rating of songs produced by female artists?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , artist_name (text) , song_name (text) | artist : artist_name (text) , gender (text)


Question: How many songs, on average, are sung by a female artist?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , artist_name (text) , song_name (text) | artist : artist_name (text) , gender (text)


Question: What is the most popular file format?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the file format that is used by the most files.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the names of the artists who are from UK and have produced English songs.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , languages (text) , song_name (text)


Question: What are the names of the artists that are from the UK and sang songs in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , languages (text) , song_name (text)


Question: Find the id of songs that are available in mp4 format and have resolution lower than 1000.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: What is the id of the files that are available in the format of mp4 and a resolution smaller than 1000?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: What is the country of origin of the artist who is female and produced a song in Bangla?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text) , gender (text) | song : country (text) , artist_name (text) , languages (text) , song_name (text)


Question: What countries are the female artists who sung in the language Bangla from?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text) , gender (text) | song : country (text) , artist_name (text) , languages (text) , song_name (text)


Question: What is the average duration of songs that have mp3 format and resolution below 800?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: What is the average song duration for the songs that are in mp3 format and whose resolution below 800?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: What is the number of artists for each gender?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : gender (text) , artist_name (text)


Question: How many artists are male and how many are female?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : gender (text) , artist_name (text)


Question: What is the average rating of songs for each language?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , languages (text) , song_name (text)


Question: What is the average song rating for each language?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , languages (text) , song_name (text)


Question: Return the gender and name of artist who produced the song with the lowest resolution.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : gender (text) , artist_name (text) | song : artist_name (text) , resolution (number) , song_name (text)


Question: What is the gender and name of the artist who sang the song with the smallest resolution?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : gender (text) , artist_name (text) | song : artist_name (text) , resolution (number) , song_name (text)


Question: For each file format, return the number of artists who released songs in that format.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: How many songs were released for each format?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the distinct names of all songs that have a higher resolution than some songs in English.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , resolution (number) , languages (text)


Question: What are the different names for all songs that have a higher resolution than English songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , resolution (number) , languages (text)


Question: What are the names of all songs that have a lower rating than some song of blues genre?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , rating (number) , genre_is (text)


Question: What are the names of the songs that have a lower rating than at least one blues song?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , rating (number) , genre_is (text)


Question: What is the name and country of origin of the artist who released a song that has "love" in its title?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , song_name (text)


Question: What are the names of the artists who released a song that has the word love in its title, and where are the artists from?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , song_name (text)


Question: List the name and gender for all artists who released songs in March.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , gender (text) | song : artist_name (text) , releasedate (time) , song_name (text)


Question: What are the names and genders of all artists who released songs in the month of March?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , gender (text) | song : artist_name (text) , releasedate (time) , song_name (text)


Question: List the names of all genres in alphabetical oder, together with its ratings.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: What are the names of all genres in alphabetical order, combined with its ratings?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Give me a list of the names of all songs ordered by their resolution.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , resolution (number)


Question: What are the names of all songs that are ordered by their resolution numbers?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , resolution (number)


Question: What are the ids of songs that are available in either mp4 format or have resolution above 720?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: What are the ids of all songs that are available on mp4 or have a higher resolution than 720?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : f_id (number) , formats (text) | song : f_id (number) , resolution (number) , song_name (text)


Question: List the names of all songs that have 4 minute duration or are in English.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , f_id (number) , languages (text) | files : f_id (number) , duration (text)


Question: What are the names of all songs that are approximately 4 minutes long or are in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , f_id (number) , languages (text) | files : f_id (number) , duration (text)


Question: What is the language used most often in the songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : languages (text) , song_name (text)


Question: What are the languages that are used most often in songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : languages (text) , song_name (text)


Question: What is the language that was used most often in songs with resolution above 500?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : artist_name (text) , resolution (number) , languages (text) , song_name (text)


Question: What is the name of the artist, for each language, that has the most songs with a higher resolution than 500?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : artist_name (text) , resolution (number) , languages (text) , song_name (text)


Question: What are the names of artists who are Male and are from UK?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: What are the names of all male British artists?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)


Question: Find the names of songs whose genre is modern or language is English.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , genre_is (text) , languages (text)


Question: What are the names of the songs that are modern or sung in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , genre_is (text) , languages (text)


Question: Return the names of songs for which format is mp3 and resolution is below 1000.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , f_id (number) , resolution (number) | files : f_id (number) , formats (text)


Question: What are the names of all songs that are in mp3 format and have a resolution lower than 1000?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , f_id (number) , resolution (number) | files : f_id (number) , formats (text)


Question: Return the names of singers who are from UK and released an English song.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , languages (text) , song_name (text)


Question: What are the names of all singers that are from the UK and released a song in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , languages (text) , song_name (text)


Question: What are the average rating and resolution of songs that are in Bangla?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , resolution (number) , languages (text) , song_name (text)


Question: What is the average rating and resolution of all bangla songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : rating (number) , resolution (number) , languages (text) , song_name (text)


Question: What are the maximum and minimum resolution of songs whose duration is 3 minutes?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : resolution (number) , f_id (number) , song_name (text) | files : f_id (number) , duration (text)


Question: What is the maximum and minimum resolution of all songs that are approximately 3 minutes long?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : resolution (number) , f_id (number) , song_name (text) | files : f_id (number) , duration (text)


Question: What are the maximum duration and resolution of songs grouped and ordered by languages?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) | song : resolution (number) , languages (text) , f_id (number) , song_name (text)


Question: What are the maximum duration and resolution of all songs, for each language, ordered alphabetically by language?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) | song : resolution (number) , languages (text) , f_id (number) , song_name (text)


Question: What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) | song : rating (number) , genre_is (text) , f_id (number) , song_name (text)


Question: What is the shortest and most poorly rated song for each genre, ordered alphabetically by genre?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

files : duration (text) , f_id (number) | song : rating (number) , genre_is (text) , f_id (number) , song_name (text)


Question: Find the names and number of works of all artists who have at least one English songs.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) | song : artist_name (text) , languages (text) , song_name (text)


Question: What are the names and number of works for all artists who have sung at least one song in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) | song : artist_name (text) , languages (text) , song_name (text)


Question: Find the name and country of origin for all artists who have release at least one song of resolution above 900.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , resolution (number) , song_name (text)


Question: What is the name and country of origin for each artist who has released a song with a resolution higher than 900?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) , country (text) | song : artist_name (text) , country (text) , resolution (number) , song_name (text)


Question: Find the names and number of works of the three artists who have produced the most songs.

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) | song : artist_name (text) , song_name (text)


Question: What are the names of the three artists who have produced the most songs, and how many works did they produce?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : artist_name (text) | song : artist_name (text) , song_name (text)


Question: Find the country of origin for the artist who made the least number of songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text) | song : country (text) , artist_name (text) , song_name (text)


Question: What country is the artist who made the fewest songs from?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

artist : country (text) , artist_name (text) | song : country (text) , artist_name (text) , song_name (text)


Question: What are the names of the songs whose rating is below the rating of all songs in English?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , rating (number) , languages (text)


Question: What are the song names for every song whose rating is less than the minimum rating for English songs?

genre : g_name (text) , rating (text) , most_popular_in (text) | artist : artist_name (text) , country (text) , gender (text) , preferred_genre (text) | files : f_id (number) , artist_name (text) , file_size (text) , duration (text) , formats (text) | song : song_name (text) , artist_name (text) , country (text) , f_id (number) , genre_is (text) , rating (number) , languages (text) , releasedate (time) , resolution (number)

song : song_name (text) , rating (number) , languages (text)