MikeXydas/qr2t_benchmark huggingface dataset:
Table: Movie, Movie
Question: For each director who directed more than one movie, what are the titles and dates of release for all those movies?
SQL query:
SELECT T1.title AS "Movie title", T1.year AS "Movie year" 
 FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director 
 WHERE T1.title <> T2.title
Result:
,Movie year,Movie title
0,1982,E.T.

Answer: E.T. was released in 1982.
Table: movie, culture_company, book_club
Question: What are the titles of movies and books corresponding to companies incorporated in China?
SQL query:
SELECT T1.title AS "movie title", T3.book_title AS "book_club book_title", T2.incorporated_in AS "culture_company incorporated_in" 
 FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id JOIN book_club AS T3 ON T3.book_club_id = T2.book_club_id 
 WHERE T2.incorporated_in = 'China'
Result:
,movie title,book_club book_title,culture_company incorporated_in
0,The Big Kahuna,Goldenboy,China

Answer: The movie with title The Big Kahuna and the book with title Goldenboy are from companies incorporated in China
Table: addresses
Question: How many addresses are there in country USA?
SQL query:
SELECT COUNT(*) AS "count of addresses", country 
 FROM addresses 
 WHERE country = 'USA'
Result:
,country,count of addresses
0,USA,15

Answer: There are 15 addresses in USA
Table: VOTING_RECORD
Question: Find the number of voting records in total.
SQL query:
SELECT COUNT(*) AS "count of VOTING_RECORD" 
 FROM VOTING_RECORD
Result:
,count of VOTING_RECORD
0,10

Answer: The total number of voting records is 10
Table: game, injury_accident
Question: What is the season of the game which causes the player 'Walter Samuel' to get injured?
SQL query:
SELECT T1.season AS "game season", T2.player AS "injury_accident player" 
 FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id 
 WHERE T2.player = 'Walter Samuel'
Result:
,game season,injury_accident player
0,2008,Walter Samuel

Answer: Walter Samuel got injured in 2008.
Table: phone
Question: What are the memories and carriers of phones?
SQL query:
SELECT Memory_in_G, Carrier 
 FROM phone
Result:
,Carrier,Memory_in_G
0,Sprint,32

Answer: The phone with carrier Spring has 32 G of memory.
Table: ENROLLED_IN, GRADECONVERSION, STUDENT
Question: What is the maximum and minimum grade point of students who live in NYC?
SQL query:
SELECT MAX(T2.gradepoint) AS "maximum gradepoint", MIN(T2.gradepoint) AS "minimum gradepoint", T3.city_code AS "STUDENT city_code" 
 FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID 
 WHERE T3.city_code = 'NYC'
Result:
,STUDENT city_code,maximum gradepoint,minimum gradepoint
0,NYC,4.0,2.0

Answer: Students from NYC have a max grade point of 4 and minimum of 2
Table: Products
Question: What are the names of all products?
SQL query:
SELECT Name 
 FROM Products
Result:
,Name
0,Hard drive

Answer: The product name is "Hard drive".
Table: Employees
Question: How many employees do we have?
SQL query:
SELECT COUNT(*) AS "count of Employees" 
 FROM Employees
Result:
,count of Employees
0,15

Answer: The number of employees is 15
Table: city
Question: What are the official names of cities that have population over 1500 or less than 500?
SQL query:
SELECT Official_Name, Population 
 FROM city 
 WHERE Population > 1500 OR Population < 500
Result:
,Population,Official_Name
0,5706.0,Grand Falls/Grand-Sault

Answer: The city with official name Grand Falls/Grand-Sault has a population of 5706.
Table: technician
Question: What are the names of the technicians aged either 36 or 37?
SQL query:
SELECT Name, Age 
 FROM technician 
 WHERE Age = 36 OR Age = 37
Result:
,Age,Name
0,37,Joe Sewell

Answer: The technician named Joe Sewell has an age of 37
Table: Lessons
Question: How many lessons have been cancelled?
SQL query:
SELECT COUNT(*) AS "count of Lessons", lesson_status_code 
 FROM Lessons 
 WHERE lesson_status_code = 'Cancelled'
Result:
,count of Lessons,lesson_status_code
0,9,Cancelled

Answer: The lessons with status code Cancelled count to 9
Table: country
Question: How many countries are there in total?
SQL query:
SELECT COUNT(*) AS "count of country" 
 FROM country
Result:
,count of country
0,6

Answer: There are 6 countries.
Table: swimmer, record
Question: Find the names of swimmers who has a result of "win".
SQL query:
SELECT t1.name AS "swimmer name", RESULT 
 FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id 
 WHERE RESULT = 'Win'
Result:
,Result,swimmer name
0,Win,Sergiy Fesenko

Answer: Swimmer Sergiy Fesenko has won.
Table: EMPLOYEE
Question: What are the phone numbers for each employee?
SQL query:
SELECT Phone 
 FROM EMPLOYEE
Result:
,Phone
0,+1 (780) 428-9482

Answer: The phone is +1 (780) 428-9482.
Table: Has_allergy
Question: How many students have cat allergies?
SQL query:
SELECT COUNT(*) AS "count of Has_allergy", Allergy 
 FROM Has_allergy 
 WHERE Allergy = 'Cat'
Result:
,Allergy,count of Has_allergy
0,Cat,4

Answer: 4 students have a cat allergy.
Table: track
Question: How many tracks do we have?
SQL query:
SELECT COUNT(*) AS "count of track" 
 FROM track
Result:
,count of track
0,9

Answer: There are 9 tracks.
Table: movie
Question: Which directors had a movie in either 1999 or 2000?
SQL query:
SELECT director, YEAR 
 FROM movie 
 WHERE YEAR = 1999 OR YEAR = 2000
Result:
,Year,Director
0,1999,Troy Duffy

Answer: In 1999 Troy Duffy was the director.
Table: customers
Question: Find the name of customers who did not pay with Cash.
SQL query:
SELECT customer_name, payment_method 
 FROM customers 
 WHERE payment_method <> 'Cash'
Result:
,customer_name,payment_method
0,Tillman Ernser,Cheque

Answer: Customer Tillman Ernser has used the payment method of Cheque.
Table: employee
Question: How many employees are there all together?
SQL query:
SELECT COUNT(*) AS "count of employee" 
 FROM employee
Result:
,count of employee
0,37

Answer: The total number of employees is 37
Table: participants
Question: How many participants belong to the type 'Organizer'?
SQL query:
SELECT COUNT(*) AS "count of participants", participant_type_code 
 FROM participants 
 WHERE participant_type_code = 'Organizer'
Result:
,Participant_Type_Code,count of participants
0,Organizer,7

Answer: There are 7 organizers.
Table: professor, department, employee
Question: What is the first and last name of the professor in biology department?
SQL query:
SELECT T3.EMP_FNAME AS "employee EMP_FNAME", T3.EMP_LNAME AS "employee EMP_LNAME", DEPT_NAME 
 FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code JOIN employee AS T3 ON T1.EMP_NUM = T3.EMP_NUM 
 WHERE DEPT_NAME = 'Biology'
Result:
,DEPT_NAME,employee EMP_FNAME,employee EMP_LNAME
0,Biology,Van,Thieu

Answer: The department of Biology has a professor with first name Van and last name Thieu.
Table: customer
Question: Count the number of customers who are active.
SQL query:
SELECT COUNT(*) AS "count of customer", active 
 FROM customer 
 WHERE active = '1'
Result:
,active,count of customer
0,1,584

Answer: There are 584 customers who are active.
Table: campuses, degrees
Question: How many degrees were conferred in "San Jose State University" in 2000?
SQL query:
SELECT degrees, t1.campus AS "t1 campus", t2.year AS "t2 year" 
 FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus 
 WHERE t1.campus = 'San Jose State University' AND t2.year = 2000
Result:
,Degrees,t2 year,t1 campus
0,3951,2000,San Jose State University

Answer: In 2000, 3951 degrees were conferred in San Jose State University.
Table: furniture
Question: find the total market rate of the furnitures that have the top 2 market shares.
SQL query:
SELECT SUM(market_rate) AS "sum of market_rate" 
 FROM furniture ORDER BY market_rate DESC
Result:
,sum of market_rate
0,100.0

Answer: The sum of market rate is 100.
Table: tryout
Question: What college has a student who successfully made the team in the role of a goalie?
SQL query:
SELECT cName, pPos, decision 
 FROM tryout 
 WHERE decision = 'yes' AND pPos = 'goalie'
Result:
,pPos,cName,decision
0,goalie,ASU,yes

Answer: ASU college has a student who successfully made the team in the role of a goalie
Table: Person, PersonFriend
Question: Who has a friend that is from new york city?
SQL query:
SELECT T2.name AS "PersonFriend name", T1.city AS "Person city" 
 FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend 
 WHERE T1.city = 'new york city'
Result:
,Person city,PersonFriend name
0,new york city,Zach

Answer: Zach has a friend that is from new york city
Table: editor
Question: List the names of editors who are older than 25.
SQL query:
SELECT Name, Age 
 FROM editor 
 WHERE Age > 25
Result:
,Age,Name
0,34.0,Kamila Porczyk

Answer: The editor named Kamila Porczyk is 34 years old.
Table: manufacturers
Question: Where is the headquarter of the company founded by James?
SQL query:
SELECT headquarter, founder 
 FROM manufacturers 
 WHERE founder = 'James'
Result:
,Founder,Headquarter
0,James,Los Angeles

Answer: The company whose founder is James, has its headquarters in Los Angeles
Table: bank
Question: Find the average number of customers cross all banks.
SQL query:
SELECT AVG(no_of_customers) AS "average no_of_customers" 
 FROM bank
Result:
,average no_of_customers
0,286.5

Answer: The average number of customers across all banks is 286.5
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: list
Question: Find the first names of students studying in room 108.
SQL query:
SELECT firstname, classroom 
 FROM list 
 WHERE classroom = 108
Result:
,Classroom,FirstName
0,108, LYNNETTE

Answer: The student with first name Lynnette is in classroom 108.
Table: editor
Question: What are the names and ages of editors?
SQL query:
SELECT Name, Age 
 FROM editor
Result:
,Age,Name
0,34.0,Kamila Porczyk

Answer: Kamila Porczyk is 34 years old.
Table: submission
Question: Which authors with submissions are from college "Florida" or "Temple"?
SQL query:
SELECT Author, College 
 FROM submission 
 WHERE College = 'Florida' OR College = 'Temple'
Result:
,Author,College
0,Sammy Green,Florida

Answer: Sammy Green is from college Florida.
Table: airports
Question: What are the names of all airports whose elevation is between -50 and 50?
SQL query:
SELECT name, elevation 
 FROM airports 
 WHERE elevation BETWEEN -50 AND 50
Result:
,name,elevation
0,Madang Airport,20

Answer: The Madang Airport has an elevation of 20
Table: list
Question: What are the first names of students in room 108?
SQL query:
SELECT firstname, classroom 
 FROM list 
 WHERE classroom = 108
Result:
,Classroom,FirstName
0,108, LYNNETTE

Answer: LYNNETTE is in classroom 108.
Table: film
Question: Return the average gross sales in dollars across all films.
SQL query:
SELECT AVG(Gross_in_dollar) AS "average Gross_in_dollar" 
 FROM film
Result:
,average Gross_in_dollar
0,114827242.38461539

Answer: The average gross sales of the film is 114827242.38461539 dollars
Table: All_documents, Ref_document_types
Question: What is the document type name for the document with name "How to read a book"?
SQL query:
SELECT T2.document_type_name AS "Ref_document_types document_type_name", T1.document_name AS "All_documents document_name" 
 FROM All_documents AS T1 JOIN Ref_document_types AS T2 ON T1.document_type_code = T2.document_type_code 
 WHERE T1.document_name = 'How to read a book'
Result:
,All_documents document_name,Ref_document_types document_type_name
0,How to read a book,Book

Answer: The document with name How to read a book has a document type name Book.
Table: song
Question: What is the average rating of songs for each language?
SQL query:
SELECT AVG(rating) AS "average rating", languages 
 FROM song 
 GROUP BY languages
Result:
,languages,average rating
0,bangla,7.5

Answer: The average rating was 7.5 for bangla language.
Table: Settlements
Question: How many settlements are there in total?
SQL query:
SELECT COUNT(*) AS "count of Settlements" 
 FROM Settlements
Result:
,count of Settlements
0,15

Answer: The count of Settlements is 15.
Table: VOTING_RECORD
Question: For each election cycle, report the number of voting records.
SQL query:
SELECT Election_Cycle, COUNT(*) AS "count of VOTING_RECORD" 
 FROM VOTING_RECORD 
 GROUP BY Election_Cycle
Result:
,Election_Cycle,count of VOTING_RECORD
0,Fall,5

Answer: The Fall election cycle has 5 voting records.
Table: student, lives_in, dorm
Question: Find the first name of students who are living in the Smith Hall.
SQL query:
SELECT T1.fname AS "student fname", T3.dorm_name AS "dorm dorm_name" 
 FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid 
 WHERE T3.dorm_name = 'Smith Hall'
Result:
,student fname,dorm dorm_name
0,Tracy,Smith Hall

Answer: Student named Tracy live in Smith Hall dorm
Table: Ref_locations
Question: List all location codes and location names.
SQL query:
SELECT location_code, location_name 
 FROM Ref_locations
Result:
,Location_Code,Location_Name
0,b,Brazil

Answer: Brazil has the location code 'b'.
Table: products
Question: Select the name of the products with a price less than or equal to $200.
SQL query:
SELECT name, price 
 FROM products 
 WHERE price <= 200
Result:
,Name,Price
0,Memory,120

Answer: The product Memory has a price of 120
Table: claims_processing_stages
Question: Find the number of distinct stages in claim processing.
SQL query:
SELECT COUNT(*) AS "count of claims_processing_stages" 
 FROM claims_processing_stages
Result:
,count of claims_processing_stages
0,2

Answer: There are 2 claims processing stages.
Table: appointment
Question: Count how many appointments have been made in total.
SQL query:
SELECT COUNT(*) AS "count of appointment" 
 FROM appointment
Result:
,count of appointment
0,9

Answer: There are 9 appointments
Table: Students
Question: Return the login names of the students whose family name is "Ward".
SQL query:
SELECT login_name, family_name 
 FROM Students 
 WHERE family_name = 'Ward'
Result:
,login_name,family_name
0,annamae.hoppe,Ward

Answer: The person with family name Ward has the login name annamae.hoppe.
Table: institution
Question: Show the institution type with an institution founded after 1990 and an institution with at least 1000 enrollment.
SQL query:
SELECT TYPE, founded, enrollment 
 FROM institution 
 WHERE founded > 1990 AND enrollment >= 1000
Result:
,Type,Founded,Enrollment
0,Private,1998.0,1200

Answer: The institution with type Private, founded in 1998, has an enrollment of 1200.
Table: COURSES
Question: Find the total number of courses offered.
SQL query:
SELECT COUNT(*) AS "count of COURSES" 
 FROM COURSES
Result:
,count of COURSES
0,15

Answer: There are 15 courses.
Table: Catalog_Structure
Question: Find the name and level of catalog structure with level between 5 and 10.
SQL query:
SELECT catalog_level_name, catalog_level_number 
 FROM Catalog_Structure 
 WHERE catalog_level_number BETWEEN 5 AND 10
Result:
,catalog_level_name,catalog_level_number
0,Sub-Category,8

Answer: The catalog level sub-category has the level number 8.
Table: WINE
Question: Count the number of wines produced at Robert Biale winery.
SQL query:
SELECT COUNT(*) AS "count of WINE", Winery 
 FROM WINE 
 WHERE Winery = 'Robert Biale'
Result:
,Winery,count of WINE
0,Robert Biale,4

Answer: The Robert Biale winery produces 4 wines.
Table: customers
Question: What are the IDs of customers who have "Diana" in part of their names?
SQL query:
SELECT customer_id, customer_name 
 FROM customers 
 WHERE customer_name LIKE '%Diana%'
Result:
,Customer_ID,Customer_name
0,562,Dr. Diana Rath

Answer: The customer named Dr. Diana Rath with customer ID 562 has "Diana" in part of their name
Table: match_season
Question: What are the names of all colleges that have two or more players?
SQL query:
SELECT College 
 FROM match_season 
 GROUP BY College 
 HAVING COUNT(*) >= 2
Result:
,College
0,Maryland

Answer: The college of Maryland has more than 2 players.
Table: ref_product_categories, products
Question: Find the category descriptions of the products whose descriptions include letter 't'.
SQL query:
SELECT T1.product_category_description AS "ref_product_categories product_category_description", T2.product_description AS "products product_description" 
 FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code = T2.product_category_code 
 WHERE T2.product_description LIKE '%t%'
Result:
,products product_description,ref_product_categories product_category_description
0,et,Spices

Answer: The product with description et has category description Spices.
Table: airlines
Question: How many airlines are there?
SQL query:
SELECT COUNT(*) AS "count of airlines" 
 FROM airlines
Result:
,count of airlines
0,6162

Answer: There are 6162 airlines.
Table: product
Question: Find all the product whose name contains the word "Scanner".
SQL query:
SELECT product 
 FROM product 
 WHERE product LIKE '%Scanner%'
Result:
,product
0,Fujitsu fi-6130 A4 Series Scanner

Answer: The name of the product is Fujitsu fi-6130 A4 Series Scanner.
Table: artist, song
Question: List the name and gender for all artists who released songs in March.
SQL query:
SELECT T1.artist_name AS "artist artist_name", T1.gender AS "artist gender", T2.releasedate AS "song releasedate" 
 FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name 
 WHERE T2.releasedate LIKE '%Mar%'
Result:
,artist gender,song releasedate,artist artist_name
0,Male,17-MAR-2002,Michel

Answer: The male artist Michel released a song in 17-MAR-2002.
Table: volume
Question: What are the maximum and minimum week on top of all volumes?
SQL query:
SELECT MAX(Weeks_on_Top) AS "maximum Weeks_on_Top", MIN(Weeks_on_Top) AS "minimum Weeks_on_Top" 
 FROM volume
Result:
,maximum Weeks_on_Top,minimum Weeks_on_Top
0,3.0,1.0

Answer: The minimum is 1 week and the maximum is 3 weeks on top of all volumes
Table: driver
Question: Show the party with drivers from Hartford and drivers older than 40.
SQL query:
SELECT party, age, home_city 
 FROM driver 
 WHERE home_city = 'Hartford' AND age > 40
Result:
,Age,Party,Home_city
0,46,Dem,Hartford

Answer: The driver's age is 46, belongs to the democratic party and the home city is Hartford.
Table: Assessment_Notes
Question: What are the dates of the assessment notes?
SQL query:
SELECT date_of_notes 
 FROM Assessment_Notes
Result:
,date_of_notes
0,1978-04-15 04:49:18

Answer: The date of the assessment note is 1978-04-15 04:49:18
Table: entrepreneur
Question: Count the number of entrepreneurs.
SQL query:
SELECT COUNT(*) AS "count of entrepreneur" 
 FROM entrepreneur
Result:
,count of entrepreneur
0,6

Answer: There are 6 entrepreneurs.
Table: station, trip
Question: What is the latitude, longitude, city of the station from which the shortest trip started?
SQL query:
SELECT T1.lat AS "station lat", T1.long AS "station long", T1.city AS "station city", T2.duration AS "trip duration" 
 FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id ORDER BY T2.duration
Result:
,station lat,station city,station long,trip duration
0,37.776617,San Francisco,-122.39526000000001,61

Answer: The shortest trip had a duration of 61 and started from a station in San Francisco with a latitude of 37.776617 and a longtitude of -122.395260
Table: salary, team
Question: What is the total salary paid by 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 team named Boston Red Stockings paid 812236665 on salaries in 2010.
Table: ref_colors
Question: List the description of all the colors.
SQL query:
SELECT color_description 
 FROM ref_colors
Result:
,color_description
0,red

Answer: The color's description is "red".
Table: Products
Question: What are the names and type codes of products?
SQL query:
SELECT Product_Name, Product_Type_Code 
 FROM Products
Result:
,Product_Name,Product_Type_Code
0,Business Policy,Books

Answer: Business Policy is a book.
Table: CUSTOMER
Question: Find the full name of the customer with the email "luisg@embraer.com.br".
SQL query:
SELECT FirstName, LastName, Email 
 FROM CUSTOMER 
 WHERE Email = 'luisg@embraer.com.br'
Result:
,Email,LastName,FirstName
0,luisg@embraer.com.br,Gonçalves,Luís

Answer: The email address of Luís Gonçalves is luisg@embraer.com.br
Table: employees
Question: What are the first names and department numbers for employees with last name McEwen?
SQL query:
SELECT first_name, department_id, last_name 
 FROM employees 
 WHERE last_name = 'McEwen'
Result:
,LAST_NAME,FIRST_NAME,DEPARTMENT_ID
0,McEwen,Allan,80

Answer: Allan McEwen is form the department with id 80.
Table: player, tryout
Question: What is the average and maximum number of hours students who made the team practiced?
SQL query:
SELECT AVG(T1.HS) AS "average HS", MAX(T1.HS) AS "maximum HS", T2.decision AS "tryout decision" 
 FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID 
 WHERE T2.decision = 'yes'
Result:
,average HS,maximum HS,tryout decision
0,1400.0,1600,yes

Answer: For the students who made the team the maximum hours were 1600 and the average hours were 1400.
Table: ROLES
Question: What are all the role codes, role names, and role descriptions?
SQL query:
SELECT role_code, role_name, role_description 
 FROM ROLES
Result:
,Role_Code,Role_Name,Role_Description
0,MG,Manager,Vero harum corrupti odit ipsa vero et odio. Iste et recusandae temporibus maxime. Magni aspernatur fugit quis explicabo totam esse corrupti.

Answer: The role with code MG has the name Manager and its description is Vero harum corrupti odit ipsa vero et odio. Iste et recusandae temporibus maxime. Magni aspernatur fugit quis explicabo totam esse corrupti.
Table: gas_station
Question: What is the name of the manager with the most gas stations that opened after 2000?
SQL query:
SELECT manager_name, open_year 
 FROM gas_station 
 WHERE open_year > 2000 
 GROUP BY manager_name ORDER BY COUNT(*) DESC
Result:
,Open_Year,Manager_Name
0,2002,Colin Denman

Answer: Colin Denman is the manager of a gas station which opened in 2002.
Table: station
Question: Show the names and total passengers for all train stations not in London.
SQL query:
SELECT name, total_passengers, LOCATION 
 FROM station 
 WHERE LOCATION <> 'London'
Result:
,Name,Location,Total_Passengers
0,Birmingham New Street,Birmingham,36.331

Answer: The train station Birmingham New Street, in Birmingham, has 36.331 total passengers.
Table: Flight
Question: Show flight number for all flights with more than 2000 distance.
SQL query:
SELECT flno, distance 
 FROM Flight 
 WHERE distance > 2000
Result:
,flno,distance
0,99,2308

Answer: The flight with number 99 has a distance of 2308.
Table: country, roller_coaster
Question: Show the names of roller coasters and names of country they are in.
SQL query:
SELECT T2.Name AS "roller_coaster Name", T1.Name AS "country Name" 
 FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID
Result:
,country Name,roller_coaster Name
0,Austria,Boardwalk Bullet

Answer: Boardwalk Bullet is in Austria.
Table: BOOKINGS
Question: How many bookings do we have?
SQL query:
SELECT COUNT(*) AS "count of BOOKINGS" 
 FROM BOOKINGS
Result:
,count of BOOKINGS
0,15

Answer: There are 15 bookings
Table: FACULTY
Question: What are the rooms for members of the faculty who are professors and who live in building NEB?
SQL query:
SELECT Room, Rank, Building 
 FROM FACULTY 
 WHERE Rank = 'Professor' AND Building = 'NEB'
Result:
,Rank,Room,Building
0,Professor,219,NEB

Answer: The room 219 is for professors who live in the building NEB.
Table: school_details
Question: Show the nicknames of schools that are not in division 1.
SQL query:
SELECT Nickname, Division 
 FROM school_details 
 WHERE Division <> 'Division 1'
Result:
,Division,Nickname
0,Division 3,Auks

Answer: The school nicknamed Auks is in Division 3.