system stringclasses 1
value | conversations listlengths 2 2 |
|---|---|
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 33 services."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 30 services."
},
{
"role": "assistant",
"content": "SELECT e9.first_name, e9.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e9\nJOIN government_services... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 28."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_t\... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 38 services."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 12 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_v ON e_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 19 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a ON e_t.emp... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 50 services."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 30."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_x\... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 48 services."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 18 services."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.appl... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 20."
},
{
"role": "assistant",
"content": "SELECT e6.first_name, e6.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e6\nJOIN... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 29 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 38."
},
{
"role": "assistant",
"content": "SELECT e2.first_name, e2.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e2\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 18 times."
},
{
"role": "assistant",
"content": "SELECT e1.first_name, e1.last_name, COUNT(a9.application_id) AS service_count\nFROM government_services.employees e1\nJOIN government_services.applications a9 ON ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 29 times."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 41 times."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a8.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a8 ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 44 applications?"
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_v ON e_v... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 13 services."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a4.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_servic... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 22."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e\nJOIN go... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 39 services."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 46 times."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a ON e.emp... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 29 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_t ON e_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 43."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a9.application_id) AS service_count\nFROM government_services.employees e_x\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 9."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a5.application_id) AS service_count\nFROM government_services.employees e_t\nJ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 50 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_v ON e_t... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 41 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 15 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_t ON e_t... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 43."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_t\... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 5 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_v ON e_x.... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 34 times."
},
{
"role": "assistant",
"content": "SELECT e8.first_name, e8.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e8\nJOIN government_services.applications a_x O... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 46 times."
},
{
"role": "assistant",
"content": "SELECT e8.first_name, e8.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e8\nJOIN government_services.applications a_x O... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 17 services."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 40 times."
},
{
"role": "assistant",
"content": "SELECT e7.first_name, e7.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e7\nJOIN government_services.applications a_v O... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 42 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a ON e_t.emp... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 8 times."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a7.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a7 O... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 32 applications?"
},
{
"role": "assistant",
"content": "SELECT e1.first_name, e1.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e1\nJOIN government_services.applications a_v ON e1.emp... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 29."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a1.application_id) AS service_count\nFROM government_services.employees e\nJOIN g... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 23 services."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_service... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 4 services."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a5.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_service... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 13 applications?"
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a5.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a5 ON e_v.e... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 16."
},
{
"role": "assistant",
"content": "SELECT e5.first_name, e5.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e5\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 30 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_x ON e_t... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 42 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a7.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a7 ON e_t.e... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 16 services."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.ap... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 35 services."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 46 times."
},
{
"role": "assistant",
"content": "SELECT e1.first_name, e1.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e1\nJOIN government_services.applications a_x O... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 6 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_t ON e_t.... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 50 times."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a1.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a1 ON e.e... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 24."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a5.application_id) AS service_count\nFROM government_services.employees e_x\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 6."
},
{
"role": "assistant",
"content": "SELECT e1.first_name, e1.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e1\nJOI... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 7 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_t... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 9 applications?"
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_v ON e_v.... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 18 applications?"
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a_t ON e.employe... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 24 times."
},
{
"role": "assistant",
"content": "SELECT e3.first_name, e3.last_name, COUNT(a5.application_id) AS service_count\nFROM government_services.employees e3\nJOIN government_services.applications a5 ON ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 36 applications?"
},
{
"role": "assistant",
"content": "SELECT e6.first_name, e6.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e6\nJOIN government_services.applications a ON e6.employe... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 46 services."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a7.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.app... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 36 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a4.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a4 ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 6."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_t\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 26 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a8.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a8 ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 9 times."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a_t ON e.... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 34 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 47."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a4.application_id) AS service_count\nFROM government_services.employees e_x\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 18 times."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a3.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a3 ON e.e... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 5 applications?"
},
{
"role": "assistant",
"content": "SELECT e6.first_name, e6.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e6\nJOIN government_services.applications a_x ON e6.empl... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 6."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_x\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 50 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a ON... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 17."
},
{
"role": "assistant",
"content": "SELECT e8.first_name, e8.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e8\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 33 services."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 50."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a2.application_id) AS service_count\nFROM government_services.employees e_t\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 32 services."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 40 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 27 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 4."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 29."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_x\nJ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 25 services."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 3 services."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_servic... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 29 applications?"
},
{
"role": "assistant",
"content": "SELECT e5.first_name, e5.last_name, COUNT(a4.application_id) AS service_count\nFROM government_services.employees e5\nJOIN government_services.applications a4 ON e5.emplo... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 11 applications?"
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_x ON e_t... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 30."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e\nJOIN ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 34 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_x ON e_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 3 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a ON ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 27 times."
},
{
"role": "assistant",
"content": "SELECT e_v.first_name, e_v.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_v\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Show how many services each employee has handled, filtered to at least 50 services."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_servi... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 43 applications?"
},
{
"role": "assistant",
"content": "SELECT e8.first_name, e8.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e8\nJOIN government_services.applications a_t ON e8.emp... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 10 applications?"
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a ON e.employee_id... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 29 applications?"
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a7.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a7 ON e.employee_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 36 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a ON... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 10 times."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e\nJOIN government_services.applications a_v ON e... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 42."
},
{
"role": "assistant",
"content": "SELECT e.first_name, e.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e\nJOIN ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 11 times."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a_... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 47 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_v ON e_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 7 times."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJOIN government_services.applications a ON ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 43 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_v.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_v ON e_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 27."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_x\nJ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 5 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_x.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_x... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 32."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a2.application_id) AS service_count\nFROM government_services.employees e_t\n... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Give me all employees who processed services more than 19 times."
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a6.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a6 ... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 14."
},
{
"role": "assistant",
"content": "SELECT e3.first_name, e3.last_name, COUNT(a2.application_id) AS service_count\nFROM government_services.employees e3\nJOI... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "List each employee and the number of services they processed, only showing those who handled at least 6."
},
{
"role": "assistant",
"content": "SELECT e_t.first_name, e_t.last_name, COUNT(a.application_id) AS service_count\nFROM government_services.employees e_t\nJO... |
You are an expert in writing database language. You can write a corresponding database language query to answer the user's question based on the table structure described by the table creation statement.
##Table Structure
CREATE TABLE government_services.employees (
employee_id character varying(64) NOT NULL,
first... | [
{
"role": "user",
"content": "Which employees have processed at least 7 applications?"
},
{
"role": "assistant",
"content": "SELECT e_x.first_name, e_x.last_name, COUNT(a_t.application_id) AS service_count\nFROM government_services.employees e_x\nJOIN government_services.applications a_t ON e_x.... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 3