MikeXydas/qr2t_benchmark huggingface dataset:
Table: useracct, review
Question: For each user, return the name and the average rating of reviews given by them.
SQL query:
SELECT T1.name AS "useracct name", AVG(T2.rating) AS "average rating", T2.u_id AS "review u_id" 
 FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id 
 GROUP BY T2.u_id
Result:
,review u_id,useracct name,average rating
0,1,Helen,7.333333333333333

Answer: User "helen" has an average rating of 7.3 in their reviews
Table: documents
Question: List all the document names which contains "CV".
SQL query:
SELECT document_name 
 FROM documents 
 WHERE document_name LIKE '%CV%'
Result:
,document_name
0,David CV

Answer: The document name is David CV.
Table: tryout
Question: How many students whose are playing the role of goalie?
SQL query:
SELECT COUNT(*) AS "count of tryout", pPos 
 FROM tryout 
 WHERE pPos = 'goalie'
Result:
,pPos,count of tryout
0,goalie,3

Answer: The role of goalie is played by 3 students
Table: bank
Question: What is the total number of customers who use banks in New York City?
SQL query:
SELECT SUM(no_of_customers) AS "sum of no_of_customers", city 
 FROM bank 
 WHERE city = 'New York City'
Result:
,city,sum of no_of_customers
0,New York City,656

Answer: In New York City there are 656 customers.
Table: Customers_cards
Question: How many debit cards do we have?
SQL query:
SELECT COUNT(*) AS "count of Customers_cards", card_type_code 
 FROM Customers_cards 
 WHERE card_type_code = 'Debit'
Result:
,card_type_code,count of Customers_cards
0,Debit,8

Answer: There are 8 Debit cards.
Table: HOTELS
Question: What are the price ranges of five star hotels?
SQL query:
SELECT price_range, star_rating_code 
 FROM HOTELS 
 WHERE star_rating_code = '5'
Result:
,price_range,star_rating_code
0,2914989.571,5

Answer: The hotels with 5 star rating have a price range of 2914989.571.
Table: Allergy_type
Question: Show all allergies and their types.
SQL query:
SELECT allergy, allergytype 
 FROM Allergy_type
Result:
,Allergy,AllergyType
0,Eggs,food

Answer: The allergy on eggs is of type food.
Table: member
Question: How many members are not living in Hartford?
SQL query:
SELECT COUNT(*) AS "count of member", address 
 FROM member 
 WHERE address <> 'Hartford'
Result:
,Address,count of member
0,Waterbury,7

Answer: There are 7 members with address Waterbury.
Table: dorm
Question: What is the average and total capacity for all dorms who are of gender X?
SQL query:
SELECT AVG(student_capacity) AS "average student_capacity", SUM(student_capacity) AS "sum of student_capacity", gender 
 FROM dorm 
 WHERE gender = 'X'
Result:
,gender,sum of student_capacity,average student_capacity
0,X,1136,227.2

Answer: The average capacity is 227.2 and the total capacity is 1136 for all dorms who are of gender X
Table: furniture
Question: Find the component amounts and names of all furnitures that have more than 10 components.
SQL query:
SELECT Num_of_Component, name 
 FROM furniture 
 WHERE Num_of_Component > 10
Result:
,Name,Num_of_Component
0,Billiard table,14

Answer: Billiard table is consisted of 14 components
Table: party_host, HOST, party
Question: Which parties have hosts of age above 50? Give me the party locations.
SQL query:
SELECT T3.Location AS "party Location", T2.Age AS "HOST Age" 
 FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID 
 WHERE T2.Age > 50
Result:
,HOST Age,party Location
0,60,Heineken Music Hall Amsterdam

Answer: The party located at the Heineken Music Hall Amsterdam has a host aged 60
Table: Apartment_Buildings
Question: Show the addresses and phones of all the buildings managed by "Brenden".
SQL query:
SELECT building_address, building_phone, building_manager 
 FROM Apartment_Buildings 
 WHERE building_manager = 'Brenden'
Result:
,building_phone,building_address,building_manager
0,915-617-2408x832,"354 Otto Villages
Charliefort, VT 71664",Brenden

Answer: The building in 354 Otto Villages Charliefort, VT 71664 has the phone 915-617-2408x832 and the manager is Brenden.
Table: HOTELS
Question: What is the average price range of five star hotels that allow pets?
SQL query:
SELECT AVG(price_range) AS "average price_range", pets_allowed_yn, star_rating_code 
 FROM HOTELS 
 WHERE star_rating_code = '5' AND pets_allowed_yn = 1
Result:
,pets_allowed_yn,star_rating_code,average price_range
0,1,5,170031784.62282422

Answer: 170031784.62282422 is the average price range of five star hotels that allow pets.
Table: book
Question: How many books are there?
SQL query:
SELECT COUNT(*) AS "count of book" 
 FROM book
Result:
,count of book
0,10

Answer: There are 10 books.
Table: ref_product_categories
Question: Return the description and unit of measurement for products in the 'Herbs' category.
SQL query:
SELECT product_category_description, unit_of_measure, product_category_code 
 FROM ref_product_categories 
 WHERE product_category_code = 'Herbs'
Result:
,unit_of_measure,product_category_code,product_category_description
0,Handful             ,Herbs,Herbs

Answer: The description for products in the Herbs category is Herbs and the unit of measurement is Handful
Table: Customers
Question: How many customers are there?
SQL query:
SELECT COUNT(*) AS "count of Customers" 
 FROM Customers
Result:
,count of Customers
0,15

Answer: There are 15 customers
Table: people
Question: Show the names of people aged either 35 or 36.
SQL query:
SELECT Name, Age 
 FROM people 
 WHERE Age = 35 OR Age = 36
Result:
,Age,Name
0,35,Luther C. Carter

Answer: Luther C. Carter is 35 years old
Table: channel, broadcast
Question: Which channels are broadcast in the morning? Give me the channel names.
SQL query:
SELECT t1.name AS "channel name", t2.time_of_day AS "broadcast time_of_day" 
 FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id 
 WHERE t2.time_of_day = 'Morning'
Result:
,channel name,broadcast time_of_day
0,CCTV-1,Morning

Answer: Channel CCTV-1 is broadcast in the morning
Table: products
Question: Which category does the product named "flax" belong to?
SQL query:
SELECT product_category_code, product_name 
 FROM products 
 WHERE product_name = 'flax'
Result:
,product_name,product_category_code
0,flax,Seeds

Answer: The product named flax is in the seeds category.
Table: dorm
Question: Find the total capacity of all dorms.
SQL query:
SELECT SUM(student_capacity) AS "sum of student_capacity" 
 FROM dorm
Result:
,sum of student_capacity
0,1380

Answer: The total capacity of the dorms is 1380.
Table: Flight
Question: How many flights do we have?
SQL query:
SELECT COUNT(*) AS "count of Flight" 
 FROM Flight
Result:
,count of Flight
0,10

Answer: There are 10 flights
Table: train
Question: How many trains have 'Express' in their names?
SQL query:
SELECT COUNT(*) AS "count of train", name 
 FROM train 
 WHERE name LIKE '%Express%'
Result:
,name,count of train
0,Ananthapuri Express,9

Answer: There are 9 trains with Express in their names.
Table: Movie
Question: Who directed Avatar?
SQL query:
SELECT director, title 
 FROM Movie 
 WHERE title = 'Avatar'
Result:
,title,director
0,Avatar,James Cameron

Answer: The movie Avatar was directed by James Cameron
Table: movie
Question: Return the average, maximum, and minimum budgets in millions for movies made before the year 2000.
SQL query:
SELECT AVG(budget_million) AS "average budget_million", MAX(budget_million) AS "maximum budget_million", MIN(budget_million) AS "minimum budget_million", YEAR 
 FROM movie 
 WHERE YEAR < 2000
Result:
,Year,average budget_million,maximum budget_million,minimum budget_million
0,1999.0,6.0,7.0,5.0

Answer: Movies made before the year 2000 have 6 million average budget, 7 millions maximum budget and 5 millions minimum budget.
Table: appointment
Question: How many appointments are there?
SQL query:
SELECT COUNT(*) AS "count of appointment" 
 FROM appointment
Result:
,count of appointment
0,9

Answer: There are 9 appointments.
Table: shop
Question: What are the open dates and years for the shop named Apple?
SQL query:
SELECT Open_Date, Open_Year, Shop_Name 
 FROM shop 
 WHERE Shop_Name = 'Apple'
Result:
,Open_Date,Open_Year,Shop_Name
0,10 June,2009,Apple

Answer: The shop named Apple had an open date in 10 June 2009.
Table: branch
Question: What are the cities that have a branch that opened in 2001 and a branch with more than 100 members?
SQL query:
SELECT city, open_year, membership_amount 
 FROM branch 
 WHERE open_year = 2001 AND membership_amount > 100
Result:
,City,Open_year,membership_amount
0,London,2001,112

Answer: The branch in London opened in 2001 and has 112 members
Table: procedures
Question: What are the highest cost, lowest cost and average cost of procedures?
SQL query:
SELECT MAX(cost) AS "maximum cost", MIN(cost) AS "minimum cost", AVG(cost) AS "average cost" 
 FROM procedures
Result:
,average cost,maximum cost,minimum cost
0,4324.857142857143,10000.0,25.0

Answer: The procedures have maximum cost 10000, minimum cost 25 and average cost 4324.857142857143
Table: CUSTOMERS
Question: How many customers do we have?
SQL query:
SELECT COUNT(*) AS "count of CUSTOMERS" 
 FROM CUSTOMERS
Result:
,count of CUSTOMERS
0,15

Answer: We have 15 customers.
Table: program
Question: how many programs are there?
SQL query:
SELECT COUNT(*) AS "count of program" 
 FROM program
Result:
,count of program
0,5

Answer: There are 5 programs
Table: hall_of_fame
Question: In which year did the least people enter hall of fame?
SQL query:
SELECT yearid 
 FROM hall_of_fame 
 GROUP BY yearid ORDER BY COUNT(*) ASC
Result:
,yearid
0,1944

Answer: The year is 1944.
Table: club
Question: What is the description of the club "Pen and Paper Gaming"?
SQL query:
SELECT clubdesc, clubname 
 FROM club 
 WHERE clubname = 'Pen and Paper Gaming'
Result:
,ClubDesc,ClubName
0,Play pen and paper games on campus.,Pen and Paper Gaming

Answer: The club named Pen and Paper Gaming has the description play pen and paper games on campus.
Table: products
Question: Return the average price of products that have each category code.
SQL query:
SELECT AVG(product_price) AS "average product_price", product_category_code 
 FROM products 
 GROUP BY product_category_code
Result:
,average product_price,product_category_code
0,35.0,Book

Answer: The products with category code Book have an average price of 35.
Table: song
Question: What are the average rating and resolution of songs that are in Bangla?
SQL query:
SELECT AVG(rating) AS "average rating", AVG(resolution) AS "average resolution", languages 
 FROM song 
 WHERE languages = 'bangla'
Result:
,languages,average rating,average resolution
0,bangla,7.5,558.0

Answer: The songs in Bangla language have an average rating of 7.5 and an average resolution of 558.
Table: Flight
Question: What are the origins of all flights that are headed to Honolulu?
SQL query:
SELECT origin, destination 
 FROM Flight 
 WHERE destination = 'Honolulu'
Result:
,origin,destination
0,Los Angeles,Honolulu

Answer: The flight originates from Los Angeles and its destination is Honolulu.
Table: Faculty, Student
Question: Which students are advised by Michael Goodrich? Give me their first and last names.
SQL query:
SELECT T2.fname AS "Student fname", T2.lname AS "Student lname", T1.fname AS "Faculty fname", T1.lname AS "Faculty lname" 
 FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor 
 WHERE T1.fname = 'Michael' AND T1.lname = 'Goodrich'
Result:
,Faculty fname,Faculty lname,Student fname,Student lname
0,Michael,Goodrich,Linda,Smith

Answer: The faculty Michael Goodrich is advising the student Linda Smith.
Table: products
Question: Show the minimum, maximum, average price for all products.
SQL query:
SELECT MIN(product_price) AS "minimum product_price", MAX(product_price) AS "maximum product_price", AVG(product_price) AS "average product_price" 
 FROM products
Result:
,average product_price,maximum product_price,minimum product_price
0,28612946.784182724,310488248.48788,77.109961147471

Answer: The average price is 28612946.784182724, the maximum price is 310488248.48788 and the minimum price is 77.109961147471.
Table: Customers
Question: Count the number of customers.
SQL query:
SELECT COUNT(*) AS "count of Customers" 
 FROM Customers
Result:
,count of Customers
0,15

Answer: There are 15 customers
Table: Ref_Transaction_Types
Question: Show the description of transaction type with code "PUR".
SQL query:
SELECT transaction_type_description, transaction_type_code 
 FROM Ref_Transaction_Types 
 WHERE transaction_type_code = 'PUR'
Result:
,transaction_type_code,transaction_type_description
0,PUR,Purchase

Answer: Transaction type with code "PUR" has the description Purchase.
Table: Customers
Question: List email address and birthday of customer whose first name as Carole.
SQL query:
SELECT email_address, date_of_birth, first_name 
 FROM Customers 
 WHERE first_name = 'Carole'
Result:
,first_name,date_of_birth,email_address
0,Carole,1998-12-15 13:24:40,everette.goyette@example.org

Answer: The customer named Carole has birthdate in 1998-12-15 13:24:40 and her email is everette.goyette@example.org.
Table: Documents, Document_Types, Grants
Question: What is the response received date for the document described as Regular that was granted more than 100 dollars?
SQL query:
SELECT T1.response_received_date AS "Documents response_received_date", T2.document_description AS "Document_Types document_description", T3.grant_amount AS "Grants grant_amount" 
 FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id 
 WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100
Result:
,Grants grant_amount,Documents response_received_date,Document_Types document_description
0,608413.3291,1977-12-01 02:18:53,Initial Application

Answer: The document with the description Initial Application has the response received date of 1977-12-01 02:18:53 and is was granted 608413.3291 dollars.
Table: county, election
Question: Which county do the delegates on "Appropriations" committee belong to? Give me the county names.
SQL query:
SELECT T1.County_name AS "county County_name", T2.Committee AS "election Committee" 
 FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District 
 WHERE T2.Committee = 'Appropriations'
Result:
,county County_name,election Committee
0,Howard,Appropriations

Answer: The county of Howard has the election committee of appropriations.
Table: county
Question: Show the county name and population of all counties.
SQL query:
SELECT County_name, Population 
 FROM county
Result:
,Population,County_name
0,21000.0,Howard

Answer: The county named Howard has a population of 21000
Table: products
Question: What is the description of the product named "Chocolate"?
SQL query:
SELECT product_description, product_name 
 FROM products 
 WHERE product_name = 'Chocolate'
Result:
,product_name,product_description
0,Chocolate,Handmade chocolate

Answer: The product named chocolate has the description "Handmade Chocolate".
Table: Employees
Question: Find the code of the role that have the most employees.
SQL query:
SELECT role_code 
 FROM Employees 
 GROUP BY role_code ORDER BY COUNT(*) DESC
Result:
,Role_Code
0,ED

Answer: The code of the role that most employees have is ED.
Table: enzyme
Question: What are the names of enzymes whose product is not 'Heme'?
SQL query:
SELECT name, product 
 FROM enzyme 
 WHERE product <> 'Heme'
Result:
,name,Product
0,ALA synthase,δ-Aminolevulinic acid

Answer: The enzyme ALA synthase produces the δ-Aminolevulinic acid.
Table: storm
Question: Show the average and maximum damage for all storms with max speed higher than 1000.
SQL query:
SELECT AVG(damage_millions_USD) AS "average damage_millions_USD", MAX(damage_millions_USD) AS "maximum damage_millions_USD", max_speed 
 FROM storm 
 WHERE max_speed > 1000
Result:
,Max_speed,average damage_millions_USD,maximum damage_millions_USD
0,1007.0,6.5195,13.0

Answer: storms with max speed 1007 have an average damage of 6.5195 million dollars and a maximum damage of 13 million dollars
Table: Customer_Master_Index, CMI_Cross_References
Question: what are the details of the cmi masters that have the cross reference code 'Tax'?
SQL query:
SELECT T1.cmi_details AS "Customer_Master_Index cmi_details", T2.source_system_code AS "CMI_Cross_References source_system_code" 
 FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id 
 WHERE T2.source_system_code = 'Tax'
Result:
,Customer_Master_Index cmi_details,CMI_Cross_References source_system_code
0,"Volkman, Mills and Ferry",Tax

Answer: The customer master index details that have the cross reference system code Tax are Volkman, Mills and Ferry.
Table: products
Question: Find all information of all the products with a price between $60 and $120.
SQL query:
SELECT * 
 FROM products 
 WHERE price BETWEEN 60 AND 120
Result:
,Code,Name,Price,Manufacturer
0,2,Memory,120,6

Answer: The product with code 2 and name Memory has a price of 120 and is manufactured by 6
Table: COURSES
Question: Return the description for the courses named "database".
SQL query:
SELECT course_description, course_name 
 FROM COURSES 
 WHERE course_name = 'database'
Result:
,course_name,course_description
0,database,database

Answer: The database course has description database.
Table: Project_Staff
Question: What are the staff roles of the staff who
SQL query:
SELECT role_code, date_to, date_from 
 FROM Project_Staff 
 WHERE date_from > '2003-04-19 15:06:20' AND date_to < '2016-03-15 00:33:18'
Result:
,date_to,date_from,role_code
0,1988-03-04 19:30:05,2004-11-01 23:52:38,leader

Answer: A staff with the role leader worked on the project from 1988-03-04 19:30:05 to 2004-11-01 23:52:38
Table: Customers, Addresses
Question: Which country does customer with first name as Carole and last name as Bernhard lived in?
SQL query:
SELECT T2.country AS "Addresses country", T1.first_name AS "Customers first_name", T1.last_name AS "Customers last_name" 
 FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id 
 WHERE T1.first_name = 'Carole' AND T1.last_name = 'Bernhard'
Result:
,Addresses country,Customers last_name,Customers first_name
0,USA,Bernhard,Carole

Answer: The customer Carole Bernhard is in the country of USA.
Table: STUDENT
Question: What is the oldest age among the students?
SQL query:
SELECT MAX(Age) AS "maximum Age" 
 FROM STUDENT
Result:
,maximum Age
0,27

Answer: The oldest student is 27 years old.
Table: tryout, player
Question: Which colleges do the tryout players whose name starts with letter D go to?
SQL query:
SELECT T1.cName AS "tryout cName", T2.pName AS "player pName" 
 FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID 
 WHERE T2.pName LIKE 'D%'
Result:
,player pName,tryout cName
0,David,ASU

Answer: The college of David is ASU.
Table: instructor
Question: What are the names of the instructors in the Comp. Sci. department who earn more than 80000?
SQL query:
SELECT name, dept_name, salary 
 FROM instructor 
 WHERE dept_name = 'Comp. Sci.' AND salary > 80000
Result:
,name,salary,dept_name
0,Bondi,115469.11,Comp. Sci.

Answer: The instructor named Bondi has a salary of 115469.11 and belongs in the Computer Science department.
Table: products
Question: Compute the average price of all products with manufacturer code equal to 2.
SQL query:
SELECT AVG(price) AS "average price", Manufacturer 
 FROM products 
 WHERE Manufacturer = 2
Result:
,Manufacturer,average price
0,2.0,150.0

Answer: The manufacturer with code 2 has an average price of 150.
Table: student
Question: How many students are there?
SQL query:
SELECT COUNT(*) AS "count of student" 
 FROM student
Result:
,count of student
0,34

Answer: There are 34 students
Table: products, product_characteristics, CHARACTERISTICS
Question: What are the names of the characteristics of the product 'sesame' that have the characteristic type code 'Grade'?
SQL query:
SELECT t3.characteristic_name AS "CHARACTERISTICS characteristic_name", t1.product_name AS "products product_name", t3.characteristic_type_code AS "CHARACTERISTICS characteristic_type_code" 
 FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id 
 WHERE t1.product_name = 'sesame' AND t3.characteristic_type_code = 'Grade'
Result:
,products product_name,CHARACTERISTICS characteristic_name,CHARACTERISTICS characteristic_type_code
0,sesame,error,Grade

Answer: Product "sesame" has characteristic type "error" and code "Grade".
Table: accounts, savings
Question: What are the names of customers with accounts, and what are the total savings balances for each?
SQL query:
SELECT SUM(T2.balance) AS "sum of balance", T1.name AS "accounts name" 
 FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid 
 GROUP BY T1.name
Result:
,accounts name,sum of balance
0,Brown,200000.0

Answer: The customer named Brown has a total savings balance of 200000
Table: Rooms
Question: What is the average base price of different bed type? List bed type and average base price.
SQL query:
SELECT bedType, AVG(basePrice) AS "average basePrice" 
 FROM Rooms 
 GROUP BY bedType
Result:
,bedType,average basePrice
0,Double,100.0

Answer: The Double bed type has an average price of 100
Table: CUSTOMER
Question: Count the number of customers that have an email containing "gmail.com".
SQL query:
SELECT COUNT(*) AS "count of CUSTOMER", Email 
 FROM CUSTOMER 
 WHERE Email LIKE '%gmail.com%'
Result:
,Email,count of CUSTOMER
0,ftremblay@gmail.com,8

Answer: There are 8 customers with the email ftremblay@gmail.com.
Table: airport
Question: What are the number of international and domestic passengers of the airport named London "Heathrow"?
SQL query:
SELECT International_Passengers, Domestic_Passengers, Airport_Name 
 FROM airport 
 WHERE Airport_Name = 'London Heathrow'
Result:
,Airport_Name,Domestic_Passengers,International_Passengers
0,London Heathrow,5562516.0,61344438.0

Answer: London Heathrow airport has 5562516 domestic passengers and 61344438 international passengers.
Table: district
Question: What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents?
SQL query:
SELECT District_name, City_Population 
 FROM district 
 WHERE City_Population BETWEEN 200000 AND 2000000
Result:
,District_name,City_Population
0,Bahawalpur District,530438.0

Answer: The district of Bahawalpur has a city population of 530438
Table: COURSE
Question: Count the number of courses with more than 2 credits.
SQL query:
SELECT COUNT(*) AS "count of COURSE", Credits 
 FROM COURSE 
 WHERE Credits > 2
Result:
,Credits,count of COURSE
0,3,71

Answer: There are 71 courses with 3 credits.
Table: Staff_Roles
Question: What is the complete description of the researcher role.
SQL query:
SELECT role_description, role_code 
 FROM Staff_Roles 
 WHERE role_code = 'researcher'
Result:
,role_code,role_description
0,researcher,Project Researcher

Answer: The description of the role researcher is Project Researcher.
Table: customer_orders
Question: How many orders have detail "Second time"?
SQL query:
SELECT COUNT(*) AS "count of customer_orders", order_details 
 FROM customer_orders 
 WHERE order_details = 'Second time'
Result:
,order_details,count of customer_orders
0,Second time,5

Answer: There are 5 customer orders in total with order details Second time.
Table: club
Question: How many clubs are there?
SQL query:
SELECT COUNT(*) AS "count of club" 
 FROM club
Result:
,count of club
0,6

Answer: There are 6 clubs in total.
Table: physician, trained_in, procedures
Question: Which physician was trained in the procedure that costs the most.
SQL query:
SELECT T1.name AS "physician name", T3.cost AS "procedures cost" 
 FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC
Result:
,physician name,procedures cost
0,John Wen,10000.0

Answer: Physician John Wen was trained in the procedure that costs the most, with a cost of 10000
Table: player
Question: Show the players and the years played.
SQL query:
SELECT Player, Years_Played 
 FROM player
Result:
,Player,Years_Played
0,Cho Soong-Jae (630),1 (2011)

Answer: The player Cho Soong-Jae (630) has played for 1 year from 2011.