nl stringlengths 22 185 | sql stringlengths 22 608 | db_id stringclasses 40
values | table_schema stringclasses 305
values |
|---|---|---|---|
What are the titles and ratings of books? | SELECT T1.Title , T2.Rating FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
What is the rating of the book with the largest number of chapters? | SELECT T2.Rating FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T1.Chapters DESC LIMIT 1 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
What is the rank of the book with the smallest number of pages? | SELECT T2.Rank FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T1.Pages ASC LIMIT 1 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
What is the title of the book with the highest rank in the review? | SELECT T1.Title FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T2.Rank LIMIT 1 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
What is the average number of readers for books of type "Novel"? | SELECT avg(T2.Readers_in_Million) FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID WHERE T1.Type = "Novel" | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
For each book type return the type and the number of books of that type. | SELECT TYPE , COUNT(*) FROM book GROUP BY TYPE | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}] |
What is the most common type of books? | SELECT TYPE FROM book GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}] |
What are the types of books that have at least three books belonging to? | SELECT TYPE FROM book GROUP BY TYPE HAVING COUNT(*) >= 3 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}] |
List the titles of books in ascending order of the ratings in review? | SELECT T1.Title FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T2.Rating ASC | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
List the title and audio length for all the books in descending order of the number of readers. | SELECT T1.Title , T1.audio FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID ORDER BY T2.Readers_in_Million DESC | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
How many books do not have reviews? | SELECT count(*) FROM book WHERE Book_ID NOT IN (SELECT Book_ID FROM review) | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
Show the types of books that have both books with more than 75 chapters and books with less than 50 chapters. | SELECT TYPE FROM book WHERE Chapters > 75 INTERSECT SELECT TYPE FROM book WHERE Chapters < 50 | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}] |
How many distinct types of book are there? | SELECT count(DISTINCT TYPE) FROM book | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}] |
What are the type and title of the books that are not rated? | SELECT TYPE , title FROM book EXCEPT SELECT T1.type , T1.title FROM book AS T1 JOIN review AS T2 ON T1.Book_ID = T2.Book_ID; | book_review | [{'table_name': 'book', 'table_schema': [{'col_name': 'book id'}, {'col_name': 'title'}, {'col_name': 'type'}, {'col_name': 'pages'}, {'col_name': 'chapters'}, {'col_name': 'audio'}, {'col_name': 'release'}], 'foreign_key_columns': [], 'primary_keys': ['book id']}, {'table_name': 'review', 'table_schema': [{'col_name':... |
How many customers are there? | SELECT count(*) FROM customer | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Count the number of customers. | SELECT count(*) FROM customer | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
List the names of customers in ascending order of level of membership. | SELECT Name FROM customer ORDER BY Level_of_Membership ASC | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Sort all the customers by the level of membership in ascending order, and return the customer names. | SELECT Name FROM customer ORDER BY Level_of_Membership ASC | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
What are the nationalities and card credits of customers? | SELECT Nationality , Card_Credit FROM customer | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Find the nationality and card credit of each customer. | SELECT Nationality , Card_Credit FROM customer | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Show the names of customers with nationality "England" or "Australia". | SELECT Name FROM customer WHERE Nationality = "England" OR Nationality = "Australia" | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Which customers have nationality "England" or "Australia"? Give me their names. | SELECT Name FROM customer WHERE Nationality = "England" OR Nationality = "Australia" | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
What is the average card credit of customers with membership level higher than 1? | SELECT avg(Card_Credit) FROM customer WHERE Level_of_Membership > 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Find the average card credit customers whose membership level is above 1. | SELECT avg(Card_Credit) FROM customer WHERE Level_of_Membership > 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
What is the card credit of the customer with the highest membership level? | SELECT Card_Credit FROM customer ORDER BY Level_of_Membership DESC LIMIT 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Find the customer with the highest membership level and return his or her card credit. | SELECT Card_Credit FROM customer ORDER BY Level_of_Membership DESC LIMIT 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Show different nationalities of customers, along with the number of customers of each nationality. | SELECT Nationality , COUNT(*) FROM customer GROUP BY Nationality | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
How many customers are associated with each nationality? List the nationality and the number of customers. | SELECT Nationality , COUNT(*) FROM customer GROUP BY Nationality | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Show the most common nationality of customers. | SELECT Nationality FROM customer GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Which nationality does the most customers have? | SELECT Nationality FROM customer GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Show the nations that have both customers with card credit smaller than 50 and customers with card credit bigger than 75. | SELECT Nationality FROM customer WHERE Card_Credit < 50 INTERSECT SELECT Nationality FROM customer WHERE Card_Credit > 75 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Which nations have both customers with card credit above 50 and customers with card credit below 75. | SELECT Nationality FROM customer WHERE Card_Credit < 50 INTERSECT SELECT Nationality FROM customer WHERE Card_Credit > 75 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}] |
Show the names of customers and names of dishes they order. | SELECT T1.Name , T2.Dish_Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
For each order, return the customer name and the dish name. | SELECT T1.Name , T2.Dish_Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Show the names of customers and names of dishes they order, in descending order of the quantity of dish. | SELECT T1.Name , T2.Dish_Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID ORDER BY T2.Quantity DESC | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
For each order, find the customer name and the dish name. Sort the result in descending order of the quantity of dish. | SELECT T1.Name , T2.Dish_Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID ORDER BY T2.Quantity DESC | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Show each customer name and the total quantities of dishes ordered by that customer. | SELECT T1.Name , sum(T2.Quantity) FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID GROUP BY T1.Name | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
What is the total quantities of dishes ordered by each customer ? List the customer name and the total quantity . | select t1.name , sum(t2.quantity) from customer as t1 join customer_order as t2 on t1.customer_id = t2.customer_id group by t1.name | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Show the customers with total quantity of order bigger than 1. | SELECT T1.Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID GROUP BY T1.Name HAVING sum(T2.Quantity) > 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Which customers have total order quantity greater than 1? Give me the customer names. | SELECT T1.Name FROM customer AS T1 JOIN customer_order AS T2 ON T1.Customer_ID = T2.Customer_ID GROUP BY T1.Name HAVING sum(T2.Quantity) > 1 | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Show distinct managers of branches. | SELECT DISTINCT Manager FROM branch | restaurant_bills | [{'table_name': 'branch', 'table_schema': [{'col_name': 'branch id'}, {'col_name': 'manager'}, {'col_name': 'years opened'}, {'col_name': 'location of office'}], 'foreign_key_columns': [], 'primary_keys': ['branch id']}] |
Who are the distinct managers of branches? | SELECT DISTINCT Manager FROM branch | restaurant_bills | [{'table_name': 'branch', 'table_schema': [{'col_name': 'branch id'}, {'col_name': 'manager'}, {'col_name': 'years opened'}, {'col_name': 'location of office'}], 'foreign_key_columns': [], 'primary_keys': ['branch id']}] |
List the names of customers that do not have any order. | SELECT name FROM customer WHERE Customer_ID NOT IN (SELECT Customer_ID FROM customer_order) | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
Which customers do not have any order? Give me the customer names. | SELECT name FROM customer WHERE Customer_ID NOT IN (SELECT Customer_ID FROM customer_order) | restaurant_bills | [{'table_name': 'customer', 'table_schema': [{'col_name': 'customer id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'card credit'}, {'col_name': 'level of membership'}], 'foreign_key_columns': [], 'primary_keys': ['customer id']}, {'table_name': 'customer order', 'table_schema': [{'col_name': 'cus... |
How many members are there? | SELECT count(*) FROM member | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
List the names of members in ascending order of age. | SELECT Name FROM member ORDER BY Age ASC | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
What are the names and nationalities of the members? | SELECT Name , Nationality FROM member | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
List the names of members whose nationality is not `` England '' . | select name from member where nationality != "england" | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
Show the names of members whose age is either 19 or 20. | SELECT Name FROM member WHERE Age = 19 OR Age = 20 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
What is the name of the oldest member? | SELECT Name FROM member ORDER BY Age DESC LIMIT 1 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
Show different nationalities along with the number of members of each nationality. | SELECT Nationality , COUNT(*) FROM member GROUP BY Nationality | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
Please show the most common nationality of members. | SELECT Nationality , COUNT(*) FROM member GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
Show the nations that have at least two members. | SELECT Nationality FROM member GROUP BY Nationality HAVING COUNT(*) >= 2 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
Show the names of club leaders and the names of clubs they joined. | SELECT T3.Name , T2.Club_Name FROM club_leader AS T1 JOIN club AS T2 ON T1.Club_ID = T2.Club_ID JOIN member AS T3 ON T1.Member_ID = T3.Member_ID | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'overall ranking'}, {'col_name': 'team l... |
Show the names of club leaders of clubs with overall ranking higher than 100. | SELECT T3.Name , T2.Club_Name FROM club_leader AS T1 JOIN club AS T2 ON T1.Club_ID = T2.Club_ID JOIN member AS T3 ON T1.Member_ID = T3.Member_ID WHERE T2.Overall_Ranking < 100 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'overall ranking'}, {'col_name': 'team l... |
Show the names of club leaders that joined their club before 2018. | SELECT T3.Name , T2.Club_Name FROM club_leader AS T1 JOIN club AS T2 ON T1.Club_ID = T2.Club_ID JOIN member AS T3 ON T1.Member_ID = T3.Member_ID WHERE T1.Year_Join < 2018 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'overall ranking'}, {'col_name': 'team l... |
Show the name of the leader of the club named "Houston". | SELECT T3.Name FROM club_leader AS T1 JOIN club AS T2 ON T1.Club_ID = T2.Club_ID JOIN member AS T3 ON T1.Member_ID = T3.Member_ID WHERE T2.Club_Name = "Houston" | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'overall ranking'}, {'col_name': 'team l... |
List the names of members that are not club leaders. | SELECT Name FROM member WHERE Member_ID NOT IN (SELECT Member_ID FROM club_leader) | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club leader', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'member id'}, {'col_name': 'year ... |
Show the nations that have both members older than 22 and members younger than 19. | SELECT Nationality FROM member WHERE Age > 22 INTERSECT SELECT Nationality FROM member WHERE Age < 19 | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}] |
What is the average age of all the club leaders? | SELECT avg(T2.age) FROM club_leader AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id | club_leader | [{'table_name': 'member', 'table_schema': [{'col_name': 'member id'}, {'col_name': 'name'}, {'col_name': 'nationality'}, {'col_name': 'age'}], 'foreign_key_columns': [], 'primary_keys': ['member id']}, {'table_name': 'club leader', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'member id'}, {'col_name': 'year ... |
Which club name contains the string 'state'? | SELECT club_name FROM club WHERE club_name LIKE '%state%' | club_leader | [{'table_name': 'club', 'table_schema': [{'col_name': 'club id'}, {'col_name': 'overall ranking'}, {'col_name': 'team leader'}, {'col_name': 'club name'}], 'foreign_key_columns': [], 'primary_keys': ['club id']}] |
List all collections' subset. List the subsets' names. | SELECT Collection_Subset_Name FROM Collection_Subsets; | cre_Doc_and_collections | [{'table_name': 'collection subsets', 'table_schema': [{'col_name': 'collection subset id'}, {'col_name': 'collection subset name'}, {'col_name': 'collecrtion subset details'}], 'foreign_key_columns': [], 'primary_keys': ['collection subset id']}] |
What are the collection susbset names? | SELECT Collection_Subset_Name FROM Collection_Subsets; | cre_Doc_and_collections | [{'table_name': 'collection subsets', 'table_schema': [{'col_name': 'collection subset id'}, {'col_name': 'collection subset name'}, {'col_name': 'collecrtion subset details'}], 'foreign_key_columns': [], 'primary_keys': ['collection subset id']}] |
What is detail of collection subset with name 'Top collection'? | SELECT Collecrtion_Subset_Details FROM Collection_Subsets WHERE Collection_Subset_Name = "Top collection"; | cre_Doc_and_collections | [{'table_name': 'collection subsets', 'table_schema': [{'col_name': 'collection subset id'}, {'col_name': 'collection subset name'}, {'col_name': 'collecrtion subset details'}], 'foreign_key_columns': [], 'primary_keys': ['collection subset id']}] |
What collection details are there on the subset named 'Top collection'? | SELECT Collecrtion_Subset_Details FROM Collection_Subsets WHERE Collection_Subset_Name = "Top collection"; | cre_Doc_and_collections | [{'table_name': 'collection subsets', 'table_schema': [{'col_name': 'collection subset id'}, {'col_name': 'collection subset name'}, {'col_name': 'collecrtion subset details'}], 'foreign_key_columns': [], 'primary_keys': ['collection subset id']}] |
List all documents's subset. List the subset's name. | SELECT Document_Subset_Name FROM Document_Subsets; | cre_Doc_and_collections | [{'table_name': 'document subsets', 'table_schema': [{'col_name': 'document subset id'}, {'col_name': 'document subset name'}, {'col_name': 'document subset details'}], 'foreign_key_columns': [], 'primary_keys': ['document subset id']}] |
What are the document subset names? | SELECT Document_Subset_Name FROM Document_Subsets; | cre_Doc_and_collections | [{'table_name': 'document subsets', 'table_schema': [{'col_name': 'document subset id'}, {'col_name': 'document subset name'}, {'col_name': 'document subset details'}], 'foreign_key_columns': [], 'primary_keys': ['document subset id']}] |
What is the detail of document subset with name 'Best for 2000'? | SELECT Document_Subset_Details FROM Document_Subsets WHERE Document_Subset_Name = "Best for 2000"; | cre_Doc_and_collections | [{'table_name': 'document subsets', 'table_schema': [{'col_name': 'document subset id'}, {'col_name': 'document subset name'}, {'col_name': 'document subset details'}], 'foreign_key_columns': [], 'primary_keys': ['document subset id']}] |
What are the details on the document subsets that are named 'Best for 2000'? | SELECT Document_Subset_Details FROM Document_Subsets WHERE Document_Subset_Name = "Best for 2000"; | cre_Doc_and_collections | [{'table_name': 'document subsets', 'table_schema': [{'col_name': 'document subset id'}, {'col_name': 'document subset name'}, {'col_name': 'document subset details'}], 'foreign_key_columns': [], 'primary_keys': ['document subset id']}] |
List document id of all documents. | SELECT Document_Object_ID FROM Document_Objects; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the object id of the document objects? | SELECT Document_Object_ID FROM Document_Objects; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the parent document of document owned by Marlin? List the document id. | SELECT Parent_Document_Object_ID FROM Document_Objects WHERE OWNER = 'Marlin' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What are the document object ids of the objects owned by Marlin? | SELECT Parent_Document_Object_ID FROM Document_Objects WHERE OWNER = 'Marlin' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the owner of document with the Description 'Braeden Collection'? | SELECT OWNER FROM Document_Objects WHERE Description = 'Braeden Collection' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What are the owners of the document objects described as the 'Braeden Collection'? | SELECT OWNER FROM Document_Objects WHERE Description = 'Braeden Collection' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the owner of the parent document of document owned by 'Marlin'? | SELECT T2.Owner FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID WHERE T1.Owner = 'Marlin' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
Who is the owner of the parent document of every documents where 'Marlin' is the owner? | SELECT T2.Owner FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID WHERE T1.Owner = 'Marlin' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What are the different descriptions of all the parent documents? | SELECT DISTINCT T2.Description FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the unique description of every parent document? | SELECT DISTINCT T2.Description FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
How many documents owned by Marlin? | SELECT count(*) FROM Document_Objects WHERE OWNER = "Marlin"; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the count of documents owned by Marlin? | SELECT count(*) FROM Document_Objects WHERE OWNER = "Marlin"; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
List all documents ids that are not the parent of other documents. | SELECT Document_Object_ID FROM Document_Objects EXCEPT SELECT Parent_Document_Object_ID FROM Document_Objects | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What are the ids of the documents that are not parent documents? | SELECT Document_Object_ID FROM Document_Objects EXCEPT SELECT Parent_Document_Object_ID FROM Document_Objects | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
How many child documents does each parent document has? List the document id and the number. | SELECT T2.Document_Object_ID , count(*) FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID GROUP BY T2.Document_Object_ID; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What is the number of child documents for each parent document, and what are the ids of the parent documents? | SELECT T2.Document_Object_ID , count(*) FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID GROUP BY T2.Document_Object_ID; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
List the name of all collections. | SELECT Collection_Name FROM Collections; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
what are the collection names? | SELECT Collection_Name FROM Collections; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What is the description of collection named Best? | SELECT Collection_Description FROM Collections WHERE Collection_Name = "Best"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What are the collection descriptions that are named as 'Best'? | SELECT Collection_Description FROM Collections WHERE Collection_Name = "Best"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What is the name of the parent collection of the collection named Nice? | SELECT T2.Collection_Name FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID WHERE T1.Collection_Name = "Nice"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What are the names of all parent collections of the collection named Nice? | SELECT T2.Collection_Name FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID WHERE T1.Collection_Name = "Nice"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
Which collection is not the parent of other collection? List the collection's name. | SELECT Collection_Name FROM Collections EXCEPT SELECT T2.Collection_Name FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What are the names of the collections that are not the parent of the other collections? | SELECT Collection_Name FROM Collections EXCEPT SELECT T2.Collection_Name FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
List document that have more than one child. List the document id. | SELECT T2.Document_Object_ID FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID GROUP BY T2.Document_Object_ID HAVING count(*) > 1; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
What are the ids of the documents that have more than one child? | SELECT T2.Document_Object_ID FROM Document_Objects AS T1 JOIN Document_Objects AS T2 ON T1.Parent_Document_Object_ID = T2.Document_Object_ID GROUP BY T2.Document_Object_ID HAVING count(*) > 1; | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}] |
How many child collection does the collection named Best has? | SELECT count(*) FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID WHERE T2.Collection_Name = "Best"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
What is the number of child collections belonging to the collection named Best? | SELECT count(*) FROM Collections AS T1 JOIN Collections AS T2 ON T1.Parent_Collection_ID = T2.Collection_ID WHERE T2.Collection_Name = "Best"; | cre_Doc_and_collections | [{'table_name': 'collections', 'table_schema': [{'col_name': 'collection id'}, {'col_name': 'parent collection id'}, {'col_name': 'collection name'}, {'col_name': 'collection description'}], 'foreign_key_columns': [], 'primary_keys': ['collection id']}] |
List all document which is related to document owned by Ransom . List the document id . | select t1.document_object_id from document_subset_members as t1 join document_objects as t2 on t1.document_object_id = t2.document_object_id where t2.owner = 'ransom' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}, {'table_name': 'document subset memb... |
What are the document object ids of the related to the document owned by Ransom ? | select t1.document_object_id from document_subset_members as t1 join document_objects as t2 on t1.document_object_id = t2.document_object_id where t2.owner = 'ransom' | cre_Doc_and_collections | [{'table_name': 'document objects', 'table_schema': [{'col_name': 'document object id'}, {'col_name': 'parent document object id'}, {'col_name': 'owner'}, {'col_name': 'description'}, {'col_name': 'other details'}], 'foreign_key_columns': [], 'primary_keys': ['document object id']}, {'table_name': 'document subset memb... |
List collection subset id, name and number of collections in each subset. | SELECT T2.Collection_Subset_ID , T1.Collection_Subset_Name , count(*) FROM Collection_Subsets AS T1 JOIN Collection_Subset_Members AS T2 ON T1.Collection_Subset_ID = T2.Collection_Subset_ID GROUP BY T2.Collection_Subset_ID; | cre_Doc_and_collections | [{'table_name': 'collection subsets', 'table_schema': [{'col_name': 'collection subset id'}, {'col_name': 'collection subset name'}, {'col_name': 'collecrtion subset details'}], 'foreign_key_columns': [], 'primary_keys': ['collection subset id']}, {'table_name': 'collection subset members', 'table_schema': [{'col_name'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.