system stringclasses 550
values | conversations listlengths 6 6 |
|---|---|
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Display all catalog.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM logistics.catalog;",
"sql": null
},
{
"role": "user",
"content": "Show the results sorted by updated_at descending.",
"sql": null
},
{
"role": "ass... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "List city, coordinates, location_lat from branches.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT city, coordinates, location_lat FROM logistics.branches;",
"sql": null
},
{
"role": "user",
"content": "Get parking_available, accessib... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Show me all branches.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM logistics.branches;",
"sql": null
},
{
"role": "user",
"content": "Find branches older than 6 months.",
"sql": null
},
{
"role": "assistant",
... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Retrieve reply_to_id, likes, media_url for every message.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT reply_to_id, likes, media_url FROM logistics.messages;",
"sql": null
},
{
"role": "user",
"content": "Find messages created yeste... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Retrieve all branches.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM logistics.branches;",
"sql": null
},
{
"role": "user",
"content": "Can you order these by updated_at ascending?",
"sql": null
},
{
"role": "assis... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Show me parent_id, attachment_url, thumbnail for all messages.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT parent_id, attachment_url, thumbnail FROM logistics.messages;",
"sql": null
},
{
"role": "user",
"content": "Get media_url, ... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Retrieve updated_at, image_url, branche_id for every catalog.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT updated_at, image_url, branche_id FROM logistics.catalog;",
"sql": null
},
{
"role": "user",
"content": "Get catalog that mat... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "List branche_id, backorder, featured_rank from catalog.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT branche_id, backorder, featured_rank FROM logistics.catalog;",
"sql": null
},
{
"role": "user",
"content": "Retrieve branche_id, ba... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "Retrieve all messages.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM logistics.messages;",
"sql": null
},
{
"role": "user",
"content": "Find messages between January and March.",
"sql": null
},
{
"role": "assistant... |
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 logistics.catalog (
id text PRIMARY KEY -- unique identifier,
updated_at timesta... | [
{
"role": "user",
"content": "List all branches.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM logistics.branches;",
"sql": null
},
{
"role": "user",
"content": "What parking_available, coordinates, branche_id, likes do we have for branches and their assoc... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Retrieve all appointments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.appointments;",
"sql": null
},
{
"role": "user",
"content": "Get updated_at, rating, rating, manufacturer by joining appointments with doctors... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "List rating, user_id, updated_at from appointments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT rating, user_id, updated_at FROM healthcare.appointments;",
"sql": null
},
{
"role": "user",
"content": "Retrieve doctor_id, shares, fe... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "List location_lat, created_at, doctor_id from medical_records.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT location_lat, created_at, doctor_id FROM healthcare.medical_records;",
"sql": null
},
{
"role": "user",
"content": "Find med... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Display all doctors.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.doctors;",
"sql": null
},
{
"role": "user",
"content": "Order the output by featured_rank ascending.",
"sql": null
},
{
"role": "assista... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Retrieve all appointments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.appointments;",
"sql": null
},
{
"role": "user",
"content": "Order the output by updated_at descending.",
"sql": null
},
{
"role":... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Show me all doctors.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.doctors;",
"sql": null
},
{
"role": "user",
"content": "Show the results sorted by manufacturer ascending.",
"sql": null
},
{
"role": "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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Show me all doctors.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.doctors;",
"sql": null
},
{
"role": "user",
"content": "Retrieve appointment_id, featured_rank, user_id, author_id showing the relationship between ... |
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 healthcare.doctors (
barcode text PRIMARY KEY -- unique identifier,
updated_at d... | [
{
"role": "user",
"content": "Get featured_rank, rating, appointment_id from all doctors.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT featured_rank, rating, appointment_id FROM healthcare.doctors;",
"sql": null
},
{
"role": "user",
"content": "Sort the results ... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "What are the created_at, product_id, description of each shipping?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT created_at, product_id, description FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Show me shi... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Retrieve all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "List shipping with dates created after December 1st, 2023.",
"sql": null
},
{
... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Retrieve created_at, description, product_id for every shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT created_at, description, product_id FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Find shipping... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "List created_at, available, product_id from shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT created_at, available, product_id FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Find shipping where descri... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Retrieve all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "List shipping that have description LIKE 'A%'.",
"sql": null
},
{
"role": "as... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "What are the order_item_id, created_at, product_id of each shipping?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT order_item_id, created_at, product_id FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "List sh... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Show me product_id, order_item_id, available for all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT product_id, order_item_id, available FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "List shipping ... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Get all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Get shipping that match created_at > '2023-01-01'.",
"sql": null
},
{
"role": "ass... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Get all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Find shipping created yesterday.",
"sql": null
},
{
"role": "assistant",
"cont... |
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 e-commerce.shipping (
product_id character varying(64) NOT NULL -- unique identifi... | [
{
"role": "user",
"content": "Get all shipping.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.shipping;",
"sql": null
},
{
"role": "user",
"content": "Retrieve available, description, first_name, created_at showing the relationship between shipp... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Get all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.departments;",
"sql": null
},
{
"role": "user",
"content": "Show me departments with website LIKE 'A%'.",
"sql": null
},
{
"role": "assis... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Retrieve student_id, sku, media_url for every assignment.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT student_id, sku, media_url FROM education.assignments;",
"sql": null
},
{
"role": "user",
"content": "Retrieve assignments where ... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Show me all teachers.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.teachers;",
"sql": null
},
{
"role": "user",
"content": "Get all teachers modified within the last hour.",
"sql": null
},
{
"role": "ass... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Show me created_at, display_name, last_name for all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT created_at, display_name, last_name FROM education.departments;",
"sql": null
},
{
"role": "user",
"content": "Retrieve de... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Display all assignments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.assignments;",
"sql": null
},
{
"role": "user",
"content": "Retrieve assignments where the date is from 2023.",
"sql": null
},
{
"rol... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Get all assignments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.assignments;",
"sql": null
},
{
"role": "user",
"content": "Show me assignments with created_at > '2023-01-01'.",
"sql": null
},
{
"role"... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Show me full_name, last_name, website for all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT full_name, last_name, website FROM education.departments;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by las... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Display all assignments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.assignments;",
"sql": null
},
{
"role": "user",
"content": "Show me assignments with cost > 98.",
"sql": null
},
{
"role": "assistant... |
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 education.assignments (
sku character varying(64) NOT NULL -- unique identifier,
... | [
{
"role": "user",
"content": "Get all teachers.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.teachers;",
"sql": null
},
{
"role": "user",
"content": "Retrieve teachers where the date is from 2023.",
"sql": null
},
{
"role": "assistan... |
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 healthcare.patients (
customer_id text PRIMARY KEY -- unique identifier,
updated... | [
{
"role": "user",
"content": "Display all doctors.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.doctors;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with created_at in ascending order.",
"sql": null
},
{
"role... |
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 healthcare.patients (
customer_id text PRIMARY KEY -- unique identifier,
updated... | [
{
"role": "user",
"content": "Retrieve all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.departments;",
"sql": null
},
{
"role": "user",
"content": "Get departments that match views LIKE 'A%'.",
"sql": null
},
{
"role": ... |
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 healthcare.patients (
customer_id text PRIMARY KEY -- unique identifier,
updated... | [
{
"role": "user",
"content": "Display all appointments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.appointments;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by available descending.",
"sql": null
},
{
"role": "... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Show me all audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Order the output by categories descending.",
"sql": null
},
{
"role": "assistant",
... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Retrieve all payments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "List payments with dates older than 6 months.",
"sql": null
},
{
"role": "assist... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Get user_id, audit_id, account_id from all payments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT user_id, audit_id, account_id FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "Find payments older than 6 months.... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Display all payments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with discount in descending order.",
"sql": null
},
{
"role":... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Retrieve all payments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "What discount, user_id, due_date, notes do we have for payments and their associated account... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Get all audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Get all audits created in the last 30 days.",
"sql": null
},
{
"role": "assistant",
"... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "What are the subtotal, user_id, discount of each payment?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT subtotal, user_id, discount FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by audit_id as... |
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 finance.audits (
post_id integer PRIMARY KEY -- unique identifier,
edited_at dat... | [
{
"role": "user",
"content": "Get subtotal, audit_id, updated_at from all payments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT subtotal, audit_id, updated_at FROM finance.payments;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by discount asc... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Get popularity_score, expires_at, created_at from all investments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT popularity_score, expires_at, created_at FROM finance.investments;",
"sql": null
},
{
"role": "user",
"content": "Sort 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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "List name, rating, created_at from investments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT name, rating, created_at FROM finance.investments;",
"sql": null
},
{
"role": "user",
"content": "Find investments modified within the last... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Retrieve investment_id, created_at, customer_id for every audit.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT investment_id, created_at, customer_id FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Show me audits ... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Show me all audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "List audits with dates modified within the last hour.",
"sql": null
},
{
"role": "ass... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "List user_id, created_at, customer_id from audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT user_id, created_at, customer_id FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Show me audits that were created ye... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Show me customer_id, investment_id, created_at for all audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT customer_id, investment_id, created_at FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Get all audits cr... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Get expires_at, created_at, loan_id from all investments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT expires_at, created_at, loan_id FROM finance.investments;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Show me all audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "What created_at, customer_id, name, popularity_score do we have for audits and their associated i... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "Retrieve all investments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM finance.investments;",
"sql": null
},
{
"role": "user",
"content": "Retrieve loan_id, rating, amount, subtotal showing the relationship between investment... |
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 finance.audits (
invoice_id text PRIMARY KEY -- unique identifier,
created_at ti... | [
{
"role": "user",
"content": "List customer_id, created_at, investment_id from audits.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT customer_id, created_at, investment_id FROM finance.audits;",
"sql": null
},
{
"role": "user",
"content": "Show the results sorted... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Show me description, thumbnail_url, image_url for all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT description, thumbnail_url, image_url FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Find items from 2023."... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "What are the cost, currency, name of each item?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT cost, currency, name FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Order the output by created_at ascending.",
"sql... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Show me name, addresse_id, item_id for all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT name, addresse_id, item_id FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "List items that have image_url LIKE '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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Display all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Can you order these by image_url descending?",
"sql": null
},
{
"role": "assistant",
... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "List all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with currency in ascending order.",
"sql": null
},
{
"role": "assistant... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Show me name, published_at, created_at for all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT name, published_at, created_at FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Retrieve items where description LIK... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Show me all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "List items that have thumbnail_url LIKE 'A%'.",
"sql": null
},
{
"role": "assistant",
... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "List all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Retrieve items where created_at > '2023-01-01'.",
"sql": null
},
{
"role": "assistant",
... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "List cost, currency, created_at from items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT cost, currency, created_at FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "List featured_rank, name, coordinates, parking_ava... |
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 retail.addresses (
venue_id text PRIMARY KEY -- unique identifier,
last_inspecte... | [
{
"role": "user",
"content": "Display all items.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM retail.items;",
"sql": null
},
{
"role": "user",
"content": "Can you order these by addresse_id ascending?",
"sql": null
},
{
"role": "assistant",
... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Display all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Show me rating, views, bio, last_active from courses and their related students.",
"sql":... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Get all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Order the output by published_at ascending.",
"sql": null
},
{
"role": "assistant",
... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Show me rating, image_url, created_at for all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT rating, image_url, created_at FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Get manufacturer, name, joined_... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Show me published_at, created_at, image_url for all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT published_at, created_at, image_url FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Order the output by... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Get all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Order the output by created_at descending.",
"sql": null
},
{
"role": "assistant",
... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Display all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with student_id in descending order.",
"sql": null
},
{
"role... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Show me popularity_score, brand, image_url for all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT popularity_score, brand, image_url FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "What rating, image_ur... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "List manufacturer, name, popularity_score from courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT manufacturer, name, popularity_score FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Get courses that match ... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "What are the manufacturer, published_at, name of each course?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT manufacturer, published_at, name FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Retrieve courses wher... |
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 education.courses (
id text PRIMARY KEY -- unique identifier,
created_at timesta... | [
{
"role": "user",
"content": "Get all courses.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM education.courses;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by manufacturer ascending.",
"sql": null
},
{
"role": "assistant",
... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "What are the popularity_score, expires_at, currency of each product?",
"sql": null
},
{
"role": "assistant",
"content": "SELECT popularity_score, expires_at, currency FROM e-commerce.products;",
"sql": null
},
{
"role": "user",
"content": "Can yo... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Get content, thumbnail, keywords from all reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT content, thumbnail, keywords FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "Find reviews from last week.",
... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Get all reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "Retrieve reviews where the date is created yesterday.",
"sql": null
},
{
"role": "as... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Retrieve updated_at, currency, stock_level for every product.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT updated_at, currency, stock_level FROM e-commerce.products;",
"sql": null
},
{
"role": "user",
"content": "Sort the results b... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "List keywords, thumbnail, content from reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT keywords, thumbnail, content FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "Find reviews where thumbnail LIKE '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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Display all products.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.products;",
"sql": null
},
{
"role": "user",
"content": "List products with dates older than 6 months.",
"sql": null
},
{
"role": "assi... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Retrieve all products.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.products;",
"sql": null
},
{
"role": "user",
"content": "List products that have thumbnail_url LIKE 'A%'.",
"sql": null
},
{
"role": "... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "List all reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "What thumbnail, shippin_id, address_line2, longitude do we have for reviews and their associate... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "List all reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "List reviews that have updated_at > '2023-01-01'.",
"sql": null
},
{
"role": "assis... |
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 e-commerce.reviews (
content_id text PRIMARY KEY -- unique identifier,
updated_a... | [
{
"role": "user",
"content": "Get all reviews.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM e-commerce.reviews;",
"sql": null
},
{
"role": "user",
"content": "Sort the results by shippin_id ascending.",
"sql": null
},
{
"role": "assistant",
... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "Show me image_url, views, stock_level for all notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT image_url, views, stock_level FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": "List notifica... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "List popularity_score, video_url, metadat_id from notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT popularity_score, video_url, metadat_id FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": ... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "List backorder, created_at, notification_id from metadata.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT backorder, created_at, notification_id FROM tradingplatform.metadata;",
"sql": null
},
{
"role": "user",
"content": "Show me met... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "List popularity_score, metadat_id, views from notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT popularity_score, metadat_id, views FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": "Retriev... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "List all notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": "Retrieve notifications where the date is between January and March.",
"sql... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "Show me notification_id, featured_rank, backorder for all metadata.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT notification_id, featured_rank, backorder FROM tradingplatform.metadata;",
"sql": null
},
{
"role": "user",
"content": ... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "Show me all metadata.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM tradingplatform.metadata;",
"sql": null
},
{
"role": "user",
"content": "List metadata that have created_at > '2023-01-01'.",
"sql": null
},
{
"ro... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "List all notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": "Show me notifications that were from 2023.",
"sql": null
},
{
"rol... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "Show me all notifications.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM tradingplatform.notifications;",
"sql": null
},
{
"role": "user",
"content": "Arrange the results with popularity_score in descending order.",
"sql":... |
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 tradingplatform.metadata (
sku integer PRIMARY KEY -- unique identifier,
created... | [
{
"role": "user",
"content": "Get all metadata.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM tradingplatform.metadata;",
"sql": null
},
{
"role": "user",
"content": "Show me metadata with backorder LIKE 'A%'.",
"sql": null
},
{
"role": "assist... |
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 healthcare.doctors (
id text PRIMARY KEY -- unique identifier,
completed_at time... | [
{
"role": "user",
"content": "Get full_name, address, doctor_id from all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT full_name, address, doctor_id FROM healthcare.departments;",
"sql": null
},
{
"role": "user",
"content": "List departments with dat... |
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 healthcare.doctors (
id text PRIMARY KEY -- unique identifier,
completed_at time... | [
{
"role": "user",
"content": "Retrieve all departments.",
"sql": null
},
{
"role": "assistant",
"content": "SELECT * FROM healthcare.departments;",
"sql": null
},
{
"role": "user",
"content": "Show me address, api_key, subtotal, completed_at from departments and their related... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 2