MikeXydas/qr2t_benchmark huggingface dataset:
Table: products, Ref_colors
Question: List the names, color descriptions and product descriptions of products with category "Herbs".
SQL query:
SELECT T1.product_name AS "products product_name", T2.color_description AS "Ref_colors color_description", T1.product_description AS "products product_description", product_category_code 
 FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code 
 WHERE product_category_code = 'Herbs'
Result:
,product_category_code,products product_name,Ref_colors color_description,products product_description
0,Herbs,basil,red,officia

Answer: The product basil has the category code Herbs, has the red color and its description is officia.
Table: instructor
Question: What is the name of the department with an instructure who has a name like 'Soisalon'?
SQL query:
SELECT dept_name, name 
 FROM instructor 
 WHERE name LIKE '%Soisalon%'
Result:
,name,dept_name
0,Soisalon-Soininen,Psychology

Answer: Soisalon-Soininen is an instructor at the department of Psychology.
Table: appointment, physician
Question: List the name of physicians who took some appointment.
SQL query:
SELECT T2.name AS "physician name" 
 FROM appointment AS T1 JOIN physician AS T2 ON T1.Physician = T2.EmployeeID
Result:
,physician name
0,John Dorian

Answer: Physician John Dorian had an appointment
Table: Companies
Question: What are the average profits of companies?
SQL query:
SELECT AVG(Profits_billion) AS "average Profits_billion" 
 FROM Companies
Result:
,average Profits_billion
0,17.063157894736843

Answer: The average profits of companies are 17.063157894736843.
Table: Rooms
Question: What is the decor of room Recluse and defiance?
SQL query:
SELECT decor, roomName 
 FROM Rooms 
 WHERE roomName = 'Recluse and defiance'
Result:
,decor,roomName
0,modern,Recluse and defiance

Answer: The decor of room "Recluse and defiance" is modern.
Table: film
Question: Count the number of films.
SQL query:
SELECT COUNT(*) AS "count of film" 
 FROM film
Result:
,count of film
0,13

Answer: The count of films is 13.
Table: club
Question: Give me the name of each club.
SQL query:
SELECT clubname 
 FROM club
Result:
,ClubName
0,Bootup Baltimore

Answer: The club name is Bootup Baltimore.
Table: Employee, Certificate, Aircraft
Question: Show names for all aircrafts of which John Williams has certificates.
SQL query:
SELECT T3.name AS "Aircraft name", T1.name AS "Employee name" 
 FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid 
 WHERE T1.name = 'John Williams'
Result:
,Aircraft name,Employee name
0,Boeing 737-800,John Williams

Answer: The employee named John Williams flies the aircraft Boeing 737-800.
Table: Guests
Question: Return the date of birth for all the guests with gender code "Male".
SQL query:
SELECT date_of_birth, gender_code 
 FROM Guests 
 WHERE gender_code = 'Male'
Result:
,gender_code,date_of_birth
0,Male,1995-11-04 07:09:57

Answer: The male guest was born in 1995-11-04 07:09:57.
Table: gymnast, people
Question: What are the names of gymnasts, ordered by their heights ascending?
SQL query:
SELECT T2.Name AS "people Name", T2.Height AS "people Height" 
 FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Height ASC
Result:
,people Name,people Height
0,Paul Hamm,1.71

Answer: Paul Hamm has a height of 1.71
Table: branch
Question: Show the city and the number of branches opened before 2010 for each city.
SQL query:
SELECT city, COUNT(*) AS "count of branch", open_year 
 FROM branch 
 WHERE open_year < 2010 
 GROUP BY city
Result:
,City,Open_year,count of branch
0,London,2001,2

Answer: London city has 2 branches opened before 2010.
Table: train
Question: Find the origins from which more than 1 train starts.
SQL query:
SELECT origin 
 FROM train 
 GROUP BY origin 
 HAVING COUNT(*) > 1
Result:
,origin
0,Chennai

Answer: Chennai is the origin of more than 1 trains.
Table: CUSTOMERS
Question: Count the number of customers recorded.
SQL query:
SELECT COUNT(*) AS "count of CUSTOMERS" 
 FROM CUSTOMERS
Result:
,count of CUSTOMERS
0,15

Answer: There are 15 customers.
Table: Sportsinfo, Student
Question: What is the total number of hours per week and number of games played by students under 20?
SQL query:
SELECT SUM(hoursperweek) AS "sum of hoursperweek", SUM(gamesplayed) AS "sum of gamesplayed", T2.age AS "Student age" 
 FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID 
 WHERE T2.age < 20
Result:
,Student age,sum of gamesplayed,sum of hoursperweek
0,18,257,158

Answer: There are 257 games played by students under 20, with 158 total hours per week.
Table: authors, authorship, papers
Question: Which papers did the author "Olin Shivers" write? Give me the paper titles.
SQL query:
SELECT t3.title AS "papers title", t1.lname AS "authors lname", t1.fname AS "authors fname" 
 FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid 
 WHERE t1.fname = 'Olin' AND t1.lname = 'Shivers'
Result:
,papers title,authors fname,authors lname
0,Functional Pearl: Modular Rollback through Control Logging,Olin,Shivers

Answer: The paper "Functional Pearl: Modular Rollback through Control Logging" was written by Olin Shivers
Table: checking
Question: Find the average checking balance.
SQL query:
SELECT AVG(balance) AS "average balance" 
 FROM checking
Result:
,average balance
0,4583.428571428572

Answer: The average checking balance is 4583.428571428572
Table: Student
Question: Advisor 1121 has how many students?
SQL query:
SELECT COUNT(*) AS "count of Student", Advisor 
 FROM Student 
 WHERE Advisor = 1121
Result:
,Advisor,count of Student
0,1121,3

Answer: The number of students with advisor 1121 is 3.
Table: customer
Question: Find the name and account balance of the customer whose name includes the letter ‘a’.
SQL query:
SELECT cust_name, acc_bal 
 FROM customer 
 WHERE cust_name LIKE '%a%'
Result:
,acc_bal,cust_name
0,2000,Mary

Answer: The customer named Mary has an account balance of 2000
Table: match_season
Question: What is the position that is most common among players in match seasons?
SQL query:
SELECT POSITION 
 FROM match_season 
 GROUP BY POSITION ORDER BY COUNT(*) DESC
Result:
,Position
0,Defender

Answer: The position Defender is the most common among players in match seasons.
Table: customers, invoices
Question: Find out 5 customers who most recently purchased something. List customers' first and last name.
SQL query:
SELECT T1.first_name AS "customers first_name", T1.last_name AS "customers last_name", T2.invoice_date AS "invoices invoice_date" 
 FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id ORDER BY T2.invoice_date DESC
Result:
,customers last_name,customers first_name,invoices invoice_date
0,Pareek,Manoj,2011-12-22 00:00:00

Answer: The customer named Pareek Manoj made a purchase on 2011-12-22 00:00:00
Table: aircraft
Question: List the description of all aircrafts.
SQL query:
SELECT Description 
 FROM aircraft
Result:
,Description
0,Light utility helicopter

Answer: The aircraft's description is "Light utility helicopter".
Table: Customers_cards
Question: Show the date valid from and the date valid to for the card with card number '4560596484842'.
SQL query:
SELECT date_valid_from, date_valid_to, card_number 
 FROM Customers_cards 
 WHERE card_number = '4560596484842'
Result:
,card_number,date_valid_to,date_valid_from
0,4560596484842,2018-03-07 17:06:19,2011-04-17 09:05:28

Answer: The card with card number 4560596484842 has a date valid from 2011-04-17 09:05:28 and a date valid to 2018-03-07 17:06:19
Table: STUDENT
Question: How many students are there in total?
SQL query:
SELECT COUNT(*) AS "count of STUDENT" 
 FROM STUDENT
Result:
,count of STUDENT
0,34

Answer: There are 34 students in total.
Table: INVOICES
Question: What are the minimum, average, and maximum quantities ordered? Check all the invoices.
SQL query:
SELECT MIN(Order_Quantity) AS "minimum Order_Quantity", AVG(Order_Quantity) AS "average Order_Quantity", MAX(Order_Quantity) AS "maximum Order_Quantity" 
 FROM INVOICES
Result:
,average Order_Quantity,maximum Order_Quantity,minimum Order_Quantity
0,1.6,2,1

Answer: The average quantity ordered is 1.6, the maximum is 2 and the minimum is 1.
Table: TRANSACTIONS
Question: Show all dates of transactions whose type code is "SALE".
SQL query:
SELECT date_of_transaction, transaction_type_code 
 FROM TRANSACTIONS 
 WHERE transaction_type_code = 'SALE'
Result:
,date_of_transaction,transaction_type_code
0,1988-09-16 19:02:51,SALE

Answer: The date of transaction with type code SALE is 1988-09-16 19:02:51.
Table: SECTION
Question: How many courses are provided in each semester and year?
SQL query:
SELECT COUNT(*) AS "count of SECTION", semester, YEAR 
 FROM SECTION 
 GROUP BY semester, YEAR
Result:
,year,semester,count of SECTION
0,2001,Fall,2

Answer: For the year 2001 in the fall semester there were 2 sections.
Table: match_season
Question: Show the top 3 most common colleges of players in match seasons.
SQL query:
SELECT College 
 FROM match_season 
 GROUP BY College ORDER BY COUNT(*) DESC
Result:
,College
0,Virginia

Answer: Virginia is the most common college of players in match seasons
Table: Rooms
Question: What is the total number of people who could stay in the modern rooms in this inn?
SQL query:
SELECT SUM(maxOccupancy) AS "sum of maxOccupancy", decor 
 FROM Rooms 
 WHERE decor = 'modern'
Result:
,decor,sum of maxOccupancy
0,modern,10

Answer: The modern decorated rooms have a total occupancy of 10.
Table: tryout
Question: What is the number of students playing as a goalie?
SQL query:
SELECT COUNT(*) AS "count of tryout", pPos 
 FROM tryout 
 WHERE pPos = 'goalie'
Result:
,pPos,count of tryout
0,goalie,3

Answer: There were 3 tryouts for the goalie position.
Table: manufacturers
Question: What is the headquarter of the company whose founder is James?
SQL query:
SELECT headquarter, founder 
 FROM manufacturers 
 WHERE founder = 'James'
Result:
,Founder,Headquarter
0,James,Los Angeles

Answer: The headquarter in Los Angeles was found by James.
Table: airlines
Question: How many airlines operate out of each country in descending order?
SQL query:
SELECT country, COUNT(*) AS "count of airlines" 
 FROM airlines 
 GROUP BY country ORDER BY COUNT(*) DESC
Result:
,country,count of airlines
0,United States,1099

Answer: There are 1099 airlines operating in the US
Table: files, song
Question: What is the shortest and most poorly rated song for each genre, ordered alphabetically by genre?
SQL query:
SELECT MIN(T1.duration) AS "minimum duration", MIN(T2.rating) AS "minimum rating", T2.genre_is AS "song genre_is" 
 FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id 
 GROUP BY T2.genre_is ORDER BY T2.genre_is
Result:
,song genre_is,minimum rating,minimum duration
0,blues,6,5:23

Answer: The song was of blues genre, had a minimum rating of 6 and a minimum duration 5:23.
Table: professor
Question: How many professors attained either Ph.D. or Masters degrees?
SQL query:
SELECT COUNT(*) AS "count of professor", prof_high_degree 
 FROM professor 
 WHERE prof_high_degree = 'Ph.D.' OR prof_high_degree = 'MA'
Result:
,PROF_HIGH_DEGREE,count of professor
0,Ph.D.,20

Answer: There are 20 professors with a high degree of a Ph.D.
Table: classroom
Question: What are the greatest and average capacity for rooms in each building?
SQL query:
SELECT MAX(capacity) AS "maximum capacity", AVG(capacity) AS "average capacity", building 
 FROM classroom 
 GROUP BY building
Result:
,building,average capacity,maximum capacity
0,Alumni,36.5,47

Answer: In the Alumni building, the average capacity is 36.5, while the maximum capacity is 47
Table: services
Question: How many services are there?
SQL query:
SELECT COUNT(*) AS "count of services" 
 FROM services
Result:
,count of services
0,15

Answer: There are 15 services
Table: staff, staff_department_assignments
Question: What are the names and genders of staff who were assigned in 2016?
SQL query:
SELECT T1.staff_name AS "staff staff_name", T1.staff_gender AS "staff staff_gender", T2.date_assigned_from AS "staff_department_assignments date_assigned_from" 
 FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id 
 WHERE T2.date_assigned_from LIKE '2016%'
Result:
,staff staff_name,staff staff_gender,staff_department_assignments date_assigned_from
0,Zakary,1,2016-09-20 02:59:15

Answer: The staff named Zakary has gender of 1 and was assigned on 2016-09-20 02:59:15
Table: addresses
Question: What are the state and country of all the cities that have post codes starting with 4.\
SQL query:
SELECT state_province_county, country, zip_postcode 
 FROM addresses 
 WHERE zip_postcode LIKE '4%'
Result:
,country,zip_postcode,state_province_county
0,USA,416,Colorado

Answer: The Colorado state of the USA country has the post code 416.
Table: Person
Question: What is the average age for all person?
SQL query:
SELECT AVG(age) AS "average age" 
 FROM Person
Result:
,average age
0,32.75

Answer: The average size is 32.75.
Table: gymnast, people
Question: Return the names of gymnasts who did not grow up in Santo Domingo.
SQL query:
SELECT T2.Name AS "people Name", T2.Hometown AS "people Hometown" 
 FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID 
 WHERE T2.Hometown <> 'Santo Domingo'
Result:
,people Name,people Hometown
0,Lorraine Súarez Carmona,Bonao

Answer: Lorraine Súarez Carmona grew up in Bonao
Table: stay
Question: How many patients stay in room 112?
SQL query:
SELECT COUNT(patient) AS "count of stay", room 
 FROM stay 
 WHERE room = 112
Result:
,Room,count of stay
0,112,1

Answer: In room 112 there is 1 patient.
Table: player, tryout
Question: What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?
SQL query:
SELECT MAX(T1.HS) AS "maximum HS", pPos, T2.pPos AS "tryout pPos" 
 FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID 
 WHERE T1.HS > 1000 
 GROUP BY T2.pPos
Result:
,pPos,maximum HS,tryout pPos
0,goalie,1600,goalie

Answer: For the goalie position, the maximum training hours are 1600
Table: club_rank
Question: What are the maximum and minimum number of silver medals for all the clubs?
SQL query:
SELECT MAX(Silver) AS "maximum Silver", MIN(Silver) AS "minimum Silver" 
 FROM club_rank
Result:
,maximum Silver,minimum Silver
0,11.0,1.0

Answer: The maximum number of silver medals for all clubs is 11 and the minimum is 1
Table: club, member_of_club, student
Question: Find the average age of members of the club "Hopkins Student Enterprises".
SQL query:
SELECT AVG(t3.age) AS "average age", t1.clubname AS "club clubname" 
 FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid 
 WHERE t1.clubname = 'Hopkins Student Enterprises'
Result:
,average age,club clubname
0,20.0,Hopkins Student Enterprises

Answer: The average age in the club named Hopkins Student Enterprises is 20.
Table: market
Question: Count the number of markets that have a number of cities lower than 300.
SQL query:
SELECT COUNT(*) AS "count of market", Number_cities 
 FROM market 
 WHERE Number_cities < 300
Result:
,Number_cities,count of market
0,209,3

Answer: The number of cities which their markets count to 3 are 209
Table: Rooms
Question: List the type of bed and name of all traditional rooms.
SQL query:
SELECT roomName, bedType, decor 
 FROM Rooms 
 WHERE decor = 'traditional'
Result:
,decor,bedType,roomName
0,traditional,King,Interim but salutary

Answer: The room named Interim but salutary has a King bed type and its decor is traditional.
Table: Reservations
Question: Find the number of kids staying in the rooms reserved by a person called ROY SWEAZ.
SQL query:
SELECT kids, FirstName, LastName 
 FROM Reservations 
 WHERE FirstName = 'ROY' AND LastName = 'SWEAZY'
Result:
,Kids,LastName,FirstName
0,1,SWEAZY,ROY

Answer: There is 1 kid staying in rooms reserved by ROY SWEAZ.
Table: editor
Question: How many editors are there?
SQL query:
SELECT COUNT(*) AS "count of editor" 
 FROM editor
Result:
,count of editor
0,9

Answer: The total count of editors is 9.
Table: dorm_amenity, has_amenity, dorm
Question: What are the amenities in alphabetical order that Anonymous Donor Hall has?
SQL query:
SELECT T1.amenity_name AS "dorm_amenity amenity_name", T3.dorm_name AS "dorm dorm_name" 
 FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid = T1.amenid JOIN dorm AS T3 ON T2.dormid = T3.dormid 
 WHERE T3.dorm_name = 'Anonymous Donor Hall' ORDER BY T1.amenity_name
Result:
,dorm dorm_name,dorm_amenity amenity_name
0,Anonymous Donor Hall,4 Walls

Answer: The Anonymous Donor Hall dorm has amenity name 4 Walls.
Table: player
Question: List players' first name and last name who have weight greater than 220 or height shorter than 75.
SQL query:
SELECT name_first, name_last, height, weight 
 FROM player 
 WHERE weight > 220 OR height < 75
Result:
,height,weight,name_last,name_first
0,72,180,Aaron,Hank

Answer: Hank Aaron weighs 180 and has a height of 72
Table: Accounts, Customers
Question: Give the full name and phone of the customer who has the account name 162.
SQL query:
SELECT T2.customer_first_name AS "Customers customer_first_name", T2.customer_last_name AS "Customers customer_last_name", T2.customer_phone AS "Customers customer_phone", T1.account_name AS "Accounts account_name" 
 FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id 
 WHERE T1.account_name = '162'
Result:
,Accounts account_name,Customers customer_phone,Customers customer_last_name,Customers customer_first_name
0,162,284.749.0453,Langworth,Faustino

Answer: The customer Faustino Langworth, with phone  284.749.0453, has account name 162.
Table: stadium
Question: What is the average capacity of the stadiums that were opened in year 2005?
SQL query:
SELECT AVG(capacity) AS "average capacity", opening_year 
 FROM stadium 
 WHERE opening_year = 2005
Result:
,Opening_year,average capacity
0,2005.0,62504.0

Answer: The stadiums that were opened in year 2005 have and average capacity of 62504
Table: salary, team
Question: What is the total salary expenses of team Boston Red Stockings in 2010?
SQL query:
SELECT SUM(T1.salary) AS "sum of salary", T2.name AS "team name", T1.year AS "salary year" 
 FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br 
 WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2010
Result:
,team name,salary year,sum of salary
0,Boston Red Stockings,2010,812236665

Answer: The total salary expenses of the team Boston Red Stockings in the year 2010 is 812236665.
Table: match_season
Question: What are the draft pick numbers and draft classes for players who play the Defender position?
SQL query:
SELECT Draft_Pick_Number, Draft_Class, POSITION 
 FROM match_season 
 WHERE POSITION = 'Defender'
Result:
,Position,Draft_Class,Draft_Pick_Number
0,Defender,1996 MLS Inaugural Player Draft,87

Answer: The draft class 1996 MLS Inaugural Player Draft with pick number 87 has position Defender.
Table: ship
Question: What are the names of the ships that are not from the United States?
SQL query:
SELECT Name, Nationality 
 FROM ship 
 WHERE Nationality <> 'United States'
Result:
,Name,Nationality
0,Corbridge,United Kingdom

Answer: The ships named Corbridge are from the United Kingdom
Table: Products
Question: How many products are there?
SQL query:
SELECT COUNT(*) AS "count of Products" 
 FROM Products
Result:
,count of Products
0,15

Answer: There are 15 products
Table: home_game
Question: What is the average number of attendance at home games for each year?
SQL query:
SELECT YEAR, AVG(attendance) AS "average attendance" 
 FROM home_game 
 GROUP BY YEAR
Result:
,year,average attendance
0,1871.0,17125.0

Answer: The average attendance of 1871 was 17125
Table: authors, authorship, papers, inst
Question: Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?
SQL query:
SELECT t3.title AS "papers title", t2.authorder AS "authorship authorder", t1.lname AS "authors lname", t4.country AS "inst country" 
 FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid 
 WHERE t4.country = 'Japan' AND t2.authorder = 1 AND t1.lname = 'Ohori'
Result:
,inst country,papers title,authors lname,authorship authorder
0,Japan,Making Standard ML a Practical Database Programming Language,Ohori,1

Answer: The paper 'Making Standard ML a Practical Database Programming Language' was authored by Ohori in a Japanese instituition.
Table: Project_Staff
Question: When do all the researcher role staff start to work, and when do they stop working?
SQL query:
SELECT date_from, date_to, role_code 
 FROM Project_Staff 
 WHERE role_code = 'researcher'
Result:
,date_to,date_from,role_code
0,2004-12-16 13:03:36,1981-10-09 21:32:53,researcher

Answer: A staff member with role code researcher started to work at 1981-10-09 21:32:53 and stop working at 1981-10-09 21:32:53.
Table: Flight, Aircraft
Question: What is the aircraft name for the flight with number 99
SQL query:
SELECT T2.name AS "Aircraft name", T1.flno AS "Flight flno" 
 FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid 
 WHERE T1.flno = 99
Result:
,Flight flno,Aircraft name
0,99,Boeing 747-400

Answer: The aircraft of the flight with number 99 is the Boeing 747-400.
Table: player
Question: Who are the different players and how many years has each played?
SQL query:
SELECT Player, Years_Played 
 FROM player
Result:
,Player,Years_Played
0,Cho Soong-Jae (630),1 (2011)

Answer: Cho Soong-Jae played for 1 year
Table: premises
Question: How many premises are there?
SQL query:
SELECT COUNT(*) AS "count of premises" 
 FROM premises
Result:
,count of premises
0,15

Answer: There are 15 premises
Table: music_festival
Question: Return the dates of ceremony and the results of all music festivals
SQL query:
SELECT Date_of_ceremony, RESULT 
 FROM music_festival
Result:
,Result,Date_of_ceremony
0,Nominated,18 February 2011

Answer: The music festival with a date of ceremony 18 February 2011 had the result Nominated.
Table: catalog_contents
Question: Which catalog contents have length below 3 or above 5? Find the catalog entry names.
SQL query:
SELECT catalog_entry_name, width, LENGTH 
 FROM catalog_contents 
 WHERE LENGTH < 3 OR width > 5
Result:
,width,length,catalog_entry_name
0,6,6,Root beer

Answer: The catalog with entry name Root beer has a length of 6 and width of 6
Table: Apartment_Buildings, Apartments
Question: How many rooms in total are there in the apartments in the building with short name "Columbus Square"?
SQL query:
SELECT SUM(T2.room_count) AS "sum of room_count", T1.building_short_name AS "Apartment_Buildings building_short_name" 
 FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id 
 WHERE T1.building_short_name = 'Columbus Square'
Result:
,sum of room_count,Apartment_Buildings building_short_name
0,29,Columbus Square

Answer: There are 29 rooms in the building with short name Columbus Square.
Table: Faculty
Question: Which building has most faculty members?
SQL query:
SELECT building 
 FROM Faculty 
 GROUP BY building ORDER BY COUNT(*) DESC
Result:
,Building
0,Krieger

Answer: The building is Krieger.
Table: member_attendance, member, performance
Question: Show the names of members and the dates of performances they attended in descending order of attendance of the performances.
SQL query:
SELECT T2.Name AS "member Name", T3.Date AS "performance Date", T3.Attendance AS "performance Attendance" 
 FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T3.Attendance DESC
Result:
,member Name,performance Date,performance Attendance
0,Héctor Campana,February 11,1982

Answer: Héctor Campana attended a performance on the 11th of February 1982.
Table: competition
Question: What are the types of competition that have most 5 competitions for that type?
SQL query:
SELECT Competition_type 
 FROM competition 
 GROUP BY Competition_type 
 HAVING COUNT(*) <= 5
Result:
,Competition_type
0,Tournament

Answer: The tournament competition type has at most 5 competitions.