text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the lowest total amount of medals from countries with 0 gold medals, mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the total number of silver medals for countries of rank 14, with less t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tackles" (
"player" text,
"solo" real,
"total" real,
"sacks" text,
"fumble_force" real,
"fumble_rec" real
);
Question: How many tackles for the player with over 0 fumble recovries and 0 force... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tackles" (
"player" text,
"solo" real,
"total" real,
"sacks" text,
"fumble_force" real,
"fumble_rec" real
);
Question: How many forced fumbles for jim laney with under 2 solo tackles?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tackles" (
"player" text,
"solo" real,
"total" real,
"sacks" text,
"fumble_force" real,
"fumble_rec" real
);
Question: What is the high total for players with over 15 solo tackles?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tackles" (
"player" text,
"solo" real,
"total" real,
"sacks" text,
"fumble_force" real,
"fumble_rec" real
);
Question: How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sack... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendly" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: Who is the Opponent playing at 20:00 GMT at Camp Nou?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendly" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What time was the match played with a score of 3-2?
<|assistant|>
SELECT "t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendly" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: On which ground did the team play Aston Villa?
<|assistant|>
SELECT "ground... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "friendly" (
"date" text,
"time" text,
"competition" text,
"opponent" text,
"ground" text,
"score" text
);
Question: What kind of competition was it at San Siro at 18:30 GMT?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wellington_city" (
"name" text,
"years" text,
"gender" text,
"locality" text,
"authority" text,
"decile" real
);
Question: What is the total number of decile for the redwood school locality?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Which report includes a Circuit of Tripoli?
<|assi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.