db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
network_2
|
What is the name of the person who is the oldest?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number)
| 0.75 |
network_2
|
Who is the oldest person whose job is student?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text) , age (number)
| 0.625 |
network_2
|
What is the name of the oldest student?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text) , age (number)
| 0.625 |
network_2
|
Who is the youngest male?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) , age (number)
| 0.625 |
network_2
|
What is the name of the youngest male?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) , age (number)
| 0.625 |
network_2
|
How old is the doctor named Zach?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
What is the age of the doctor named Zach?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
Who is the person whose age is below 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number)
| 0.75 |
network_2
|
What is the name of the person whose age is below 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number)
| 0.75 |
network_2
|
How many people whose age is greater 30 and job is engineer?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
HOw many engineers are older than 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
What is the average age for each gender?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , gender (text)
| 0.75 |
network_2
|
How old is each gender, on average?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , gender (text)
| 0.75 |
network_2
|
What is average age for different job title?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text)
| 0.75 |
network_2
|
How old is the average person for each job?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text)
| 0.75 |
network_2
|
What is average age of male for different job title?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , gender (text)
| 0.625 |
network_2
|
What is the average age for a male in each job?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , gender (text)
| 0.625 |
network_2
|
What is minimum age for different job title?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text)
| 0.75 |
network_2
|
How old is the youngest person for each job?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text)
| 0.75 |
network_2
|
Find the number of people who is under 40 for each gender.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : gender (text) , age (number) , name (text)
| 0.625 |
network_2
|
How many people are under 40 for each gender?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : gender (text) , age (number) , name (text)
| 0.625 |
network_2
|
Find the name of people whose age is greater than any engineer sorted by their age.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) , job (text)
| 0.625 |
network_2
|
What is the name of all the people who are older than at least one engineer? Order them by age.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) , job (text)
| 0.625 |
network_2
|
Find the number of people whose age is greater than all engineers.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
How many people are older than every engineer?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , job (text) , name (text)
| 0.625 |
network_2
|
list the name, job title of all people ordered by their names.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text)
| 0.75 |
network_2
|
What are the names and job titles of every person ordered alphabetically by name?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text)
| 0.75 |
network_2
|
Find the names of all person sorted in the descending order using age.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number)
| 0.75 |
network_2
|
What are the names of everybody sorted by age in descending order?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number)
| 0.75 |
network_2
|
Find the name and age of all males in order of their age.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) , age (number)
| 0.625 |
network_2
|
What is the name and age of every male? Order the results by age.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) , age (number)
| 0.625 |
network_2
|
Find the name and age of the person who is a friend of both Dan and Alice.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names and ages of every person who is a friend of both Dan and Alice?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the name and age of the person who is a friend of Dan or Alice.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the different names and ages of every friend of either Dan or alice?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the name of the person who has friends with age above 40 and under age 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names of every person who has a friend over 40 and under 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the name of the person who has friends with age above 40 but not under age 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names of the people who are older 40 but no friends under age 30?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the name of the person who has no student friends.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names of the people who have no friends who are students?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , job (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the person who has exactly one friend.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : name (text)
| 0.875 |
network_2
|
What are the names of everybody who has exactly one friend?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : name (text)
| 0.875 |
network_2
|
Who are the friends of Bob?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text)
| 0.625 |
network_2
|
Who are Bob's friends?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text)
| 0.625 |
network_2
|
Find the name of persons who are friends with Bob.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text) , friend (text)
| 0.625 |
network_2
|
What are the names of all of Bob's friends?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text) , friend (text)
| 0.625 |
network_2
|
Find the names of females who are friends with Zach
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names of all females who are friends with Zach?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , gender (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find the female friends of Alice.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text) , gender (text)
| 0.5 |
network_2
|
What are all the friends of Alice who are female?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text) , gender (text)
| 0.5 |
network_2
|
Find the male friend of Alice whose job is a doctor?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text) , gender (text) , job (text)
| 0.375 |
network_2
|
Who are the friends of Alice that are doctors?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) | person : name (text) , gender (text) , job (text)
| 0.375 |
network_2
|
Who has a friend that is from new york city?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , city (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the names of all friends who are from New York?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , city (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Who has friends that are younger than the average age?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What are the different names of friends who are younger than the average age for a friend?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Who has friends that are older than the average age? Print their friends and their ages as well
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Whare the names, friends, and ages of all people who are older than the average age of a person?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Who is the friend of Zach with longest year relationship?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) , year (number)
| 0.625 |
network_2
|
Which friend of Zach has the longest-lasting friendship?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : friend (text) , name (text) , year (number)
| 0.625 |
network_2
|
What is the age of the friend of Zach with longest year relationship?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , name (text) | personfriend : name (text) , friend (text) , year (number)
| 0.375 |
network_2
|
What are the ages of all of Zach's friends who are in the longest relationship?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : age (number) , name (text) | personfriend : name (text) , friend (text) , year (number)
| 0.375 |
network_2
|
Find the name of persons who are friends with Alice for the shortest years.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : name (text) , friend (text) , year (number)
| 0.625 |
network_2
|
What are the names of all people who are friends with Alice for the shortest amount of time?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
personfriend : name (text) , friend (text) , year (number)
| 0.625 |
network_2
|
Find the name, age, and job title of persons who are friends with Alice for the longest years.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) , job (text) | personfriend : name (text) , friend (text) , year (number)
| 0.25 |
network_2
|
What are the names, ages, and jobs of all people who are friends with Alice for the longest amount of time?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) , job (text) | personfriend : name (text) , friend (text) , year (number)
| 0.25 |
network_2
|
Who is the person that has no friend?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text)
| 0.75 |
network_2
|
What are the names of all people who do not have friends?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text)
| 0.75 |
network_2
|
Which person whose friends have the oldest average age?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What is the name of the person who has the oldest average age for their friends, and what is that average age?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , age (number) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What is the total number of people who has no friend living in the city of Austin.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , city (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
What is the total number of people who have no friends living in Austin?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) , city (text) | personfriend : name (text) , friend (text)
| 0.5 |
network_2
|
Find Alice's friends of friends.
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text) , friend (text)
| 0.625 |
network_2
|
What are the names of all of Alice's friends of friends?
|
person : name (text) , age (number) , city (text) , gender (text) , job (text) | personfriend : name (text) , friend (text) , year (number)
|
person : name (text) | personfriend : name (text) , friend (text)
| 0.625 |
decoration_competition
|
How many members are there?
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : member_id (number)
| 0.916667 |
decoration_competition
|
List the names of members in ascending alphabetical order.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text)
| 0.916667 |
decoration_competition
|
What are the names and countries of members?
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , country (text)
| 0.833333 |
decoration_competition
|
Show the names of members whose country is "United States" or "Canada".
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , country (text)
| 0.833333 |
decoration_competition
|
Show the different countries and the number of members from each.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : country (text) , member_id (number)
| 0.833333 |
decoration_competition
|
Show the most common country across members.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : country (text) , member_id (number)
| 0.833333 |
decoration_competition
|
Which countries have more than two members?
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : country (text) , member_id (number)
| 0.833333 |
decoration_competition
|
Show the leader names and locations of colleges.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
college : leader_name (text) , college_location (text)
| 0.833333 |
decoration_competition
|
Show the names of members and names of colleges they go to.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
college : name (text) , college_id (number) | member : name (text) , college_id (number)
| 0.666667 |
decoration_competition
|
Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
college : name (text) , college_location (text) , college_id (number) | member : name (text) , college_id (number)
| 0.583333 |
decoration_competition
|
Show the distinct leader names of colleges associated with members from country "Canada".
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
college : leader_name (text) , college_id (number) | member : college_id (number) , country (text)
| 0.666667 |
decoration_competition
|
Show the names of members and the decoration themes they have.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , member_id (number) | round : decoration_theme (text) , member_id (number)
| 0.666667 |
decoration_competition
|
Show the names of members that have a rank in round higher than 3.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , member_id (number) | round : member_id (number) , rank_in_round (number)
| 0.666667 |
decoration_competition
|
Show the names of members in ascending order of their rank in rounds.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , member_id (number) | round : member_id (number) , rank_in_round (number)
| 0.666667 |
decoration_competition
|
List the names of members who did not participate in any round.
|
college : college_id (number) , name (text) , leader_name (text) , college_location (text) | member : member_id (number) , name (text) , country (text) , college_id (number) | round : round_id (number) , member_id (number) , decoration_theme (text) , rank_in_round (number)
|
member : name (text) , member_id (number) | round : member_id (number)
| 0.75 |
document_management
|
Find the name and access counts of all documents, in alphabetic order of the document name.
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_name (text) , access_count (number)
| 0.935484 |
document_management
|
What are the names of all the documents, as well as the access counts of each, ordered alphabetically?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_name (text) , access_count (number)
| 0.935484 |
document_management
|
Find the name of the document that has been accessed the greatest number of times, as well as the count of how many times it has been accessed?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_name (text) , access_count (number)
| 0.935484 |
document_management
|
What is the name of the document which has been accessed the most times, as well as the number of times it has been accessed?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_name (text) , access_count (number)
| 0.935484 |
document_management
|
Find the types of documents with more than 4 documents.
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_type_code (text) , document_code (text)
| 0.935484 |
document_management
|
What are the codes of types of documents of which there are for or more?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : document_type_code (text) , document_code (text)
| 0.935484 |
document_management
|
Find the total access count of all documents in the most popular document type.
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : access_count (number) , document_type_code (text) , document_code (text)
| 0.903226 |
document_management
|
What is the total access count of documents that are of the most common document type?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : access_count (number) , document_type_code (text) , document_code (text)
| 0.903226 |
document_management
|
What is the average access count of documents?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : access_count (number)
| 0.967742 |
document_management
|
Find the average access count across all documents?
|
roles : role_code (text) , role_description (text) | users : user_id (number) , role_code (text) , user_name (text) , user_login (text) , password (text) | document_structures : document_structure_code (text) , parent_document_structure_code (text) , document_structure_description (text) | functional_areas : functional_area_code (text) , parent_functional_area_code (text) , functional_area_description (text) | images : image_id (number) , image_alt_text (text) , image_name (text) , image_url (text) | documents : document_code (text) , document_structure_code (text) , document_type_code (text) , access_count (number) , document_name (text) | document_functional_areas : document_code (text) , functional_area_code (text) | document_sections : section_id (number) , document_code (text) , section_sequence (number) , section_code (text) , section_title (text) | document_sections_images : section_id (number) , image_id (number)
|
documents : access_count (number)
| 0.967742 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.