MikeXydas/qr2t_benchmark huggingface dataset:
Table: dorm
Question: Find the name of dorms only for female (F gender).
SQL query:
SELECT dorm_name, gender 
 FROM dorm 
 WHERE gender = 'F'
Result:
,gender,dorm_name
0,F,Anonymous Donor Hall

Answer: The Anonymous Donor Hall is a dorm for females.
Table: Drama_Workshop_Groups, Services
Question: What are the phones and emails of workshop groups in which services are performed?
SQL query:
SELECT T1.Store_Phone AS "Drama_Workshop_Groups Store_Phone", T1.Store_Email_Address AS "Drama_Workshop_Groups Store_Email_Address" 
 FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID
Result:
,Drama_Workshop_Groups Store_Phone,Drama_Workshop_Groups Store_Email_Address
0,(422)705-5633,roosevelt61@example.com

Answer: The drama workshop group has the phone (422)705-5633 and the email address roosevelt61@example.com.
Table: authors, authorship, papers, inst
Question: Which paper is published in an institution in "USA" and have "Turon" as its second author?
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 = 'USA' AND t2.authorder = 2 AND t1.lname = 'Turon'
Result:
,inst country,papers title,authors lname,authorship authorder
0,USA,Functional Pearl: Modular Rollback through Control Logging,Turon,2

Answer: The paper Functional Pearl: Modular Rollback through Control Logging has as second author Turon and it was published in USA.
Table: bank
Question: Count the number of bank branches.
SQL query:
SELECT COUNT(*) AS "count of bank" 
 FROM bank
Result:
,count of bank
0,4

Answer: There are 4 bank branches
Table: medicine_enzyme_interaction, medicine, enzyme
Question: What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?
SQL query:
SELECT T1.interaction_type AS "medicine_enzyme_interaction interaction_type", T3.name AS "enzyme name", T2.name AS "medicine name" 
 FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id = T2.id JOIN enzyme AS T3 ON T1.enzyme_id = T3.id 
 WHERE T3.name = 'ALA synthase' AND T2.name = 'Aripiprazole'
Result:
,enzyme name,medicine name,medicine_enzyme_interaction interaction_type
0,ALA synthase,Aripiprazole,inhibitor

Answer: The ALA synthase enzyme and the medicine Aripiprazole have an inhibitor interaction type
Table: Apartments
Question: What is the average number of rooms of apartments with type code "Studio"?
SQL query:
SELECT AVG(room_count) AS "average room_count", apt_type_code 
 FROM Apartments 
 WHERE apt_type_code = 'Studio'
Result:
,apt_type_code,average room_count
0,Studio,7.5

Answer: Apartments with type code "Studio" have 7.5 rooms in average
Table: Faculty
Question: How many faculty do we have?
SQL query:
SELECT COUNT(*) AS "count of Faculty" 
 FROM Faculty
Result:
,count of Faculty
0,58

Answer: We have 58 faculties.
Table: party
Question: Count the number of parties.
SQL query:
SELECT COUNT(*) AS "count of party" 
 FROM party
Result:
,count of party
0,8

Answer: There are 8 parties.
Table: member_attendance, member, performance
Question: Show the dates of performances with attending members whose roles are "Violin".
SQL query:
SELECT T3.Date AS "performance Date", T2.Role AS "member Role" 
 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 
 WHERE T2.Role = 'Violin'
Result:
,member Role,performance Date
0,Violin,February 2

Answer: The member that played the violin performed in February 2.
Table: products, manufacturers
Question: What are the average prices of products for each manufacturer?
SQL query:
SELECT AVG(T1.price) AS "average price", T2.name AS "manufacturers name" 
 FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code 
 GROUP BY T2.name
Result:
,average price,manufacturers name
0,150.0,Creative Labs

Answer: The manufacturer Creative Labs has an average price of 150.
Table: phone
Question: How many phones belongs to each accreditation type?
SQL query:
SELECT Accreditation_type, COUNT(*) AS "count of phone" 
 FROM phone 
 GROUP BY Accreditation_type
Result:
,count of phone,Accreditation_type
0,4,Full

Answer: 4 phones belong the the full accreditation type.
Table: instructor
Question: Find the names of all instructors in computer science department
SQL query:
SELECT name, dept_name 
 FROM instructor 
 WHERE dept_name = 'Comp. Sci.'
Result:
,name,dept_name
0,Bondi,Comp. Sci.

Answer: Bondi teaches in the computer science department
Table: cinema
Question: Show each location and the number of cinemas there.
SQL query:
SELECT LOCATION, COUNT(*) AS "count of cinema" 
 FROM cinema 
 GROUP BY LOCATION
Result:
,Location,count of cinema
0,County Clare,3

Answer: There are 3 cinemas located in County Clare.
Table: authors
Question: Which authors have first name "Amal"? List their last names.
SQL query:
SELECT lname, fname 
 FROM authors 
 WHERE fname = 'Amal'
Result:
,fname,lname
0,Amal,Ahmed

Answer: The author's first name is Amal and the last name is Ahmed.
Table: WINE
Question: What are the grapes and appelations of each wine?
SQL query:
SELECT Grape, Appelation 
 FROM WINE
Result:
,Grape,Appelation
0,Zinfandel,St. Helena

Answer: The wine with the appelation St. Helena consists of Zinfandel grapes.
Table: Member, party
Question: What are the names of members and their corresponding parties?
SQL query:
SELECT T1.member_name AS "Member member_name", T2.party_name AS "party party_name" 
 FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id
Result:
,party party_name,Member member_name
0,3,Hon Tony Abbott

Answer: The member with name Hon Tony Abbott is in party with name 3.
Table: Person
Question: What is the age of the doctor named Zach?
SQL query:
SELECT age, job, name 
 FROM Person 
 WHERE job = 'doctor' AND name = 'Zach'
Result:
,age,job,name
0,45,doctor,Zach

Answer: Zach is 45 years old and he is a doctor.
Table: candidates, people
Question: What are the first and last names of all the candidates?
SQL query:
SELECT T2.first_name AS "people first_name", T2.last_name AS "people last_name" 
 FROM candidates AS T1 JOIN people AS T2 ON T1.candidate_id = T2.person_id
Result:
,people last_name,people first_name
0,Senger,Shannon

Answer: The candidate Shannon Senger.
Table: races, results
Question: What is the maximum fastest lap speed in race named 'Monaco Grand Prix' in 2008 ?
SQL query:
SELECT MAX(T2.fastestlapspeed) AS "maximum fastestlapspeed", T1.year AS "races year", T1.name AS "races name" 
 FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid 
 WHERE T1.year = 2008 AND T1.name = 'Monaco Grand Prix'
Result:
,races name,races year,maximum fastestlapspeed
0,Monaco Grand Prix,2008,156.789

Answer: The maximum fastest lap speed in race named Monaco Grand Prix in 2008 is 156.789.
Table: election
Question: How many elections are there?
SQL query:
SELECT COUNT(*) AS "count of election" 
 FROM election
Result:
,count of election
0,5

Answer: There are 5 elections.
Table: club, member_of_club, student
Question: On average, how old are the members in 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 for the club Hopkins Student Enterprises is 20.
Table: products
Question: Return the description of the product called "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: cinema
Question: Count the number of cinemas.
SQL query:
SELECT COUNT(*) AS "count of cinema" 
 FROM cinema
Result:
,count of cinema
0,10

Answer: The number of cinemas is 10.
Table: products
Question: Find the number of products with category "Spices" and typically sold above 1000.
SQL query:
SELECT COUNT(*) AS "count of products", product_category_code, typical_buying_price 
 FROM products 
 WHERE product_category_code = 'Spices' AND typical_buying_price > 1000
Result:
,count of products,typical_buying_price,product_category_code
0,2,352447.2874677,Spices

Answer: The category of Spices has 2 products and its typical buying price is 352447.2874677.
Table: STUDENT
Question: What are the last names of students studying major 50?
SQL query:
SELECT LName, Major 
 FROM STUDENT 
 WHERE Major = 50
Result:
,LName,Major
0,Epp,50

Answer: The student with last name Epp majors 50.
Table: campuses
Question: Report the name of all campuses in Los Angeles county.
SQL query:
SELECT campus, county 
 FROM campuses 
 WHERE county = 'Los Angeles'
Result:
,Campus,County
0,California State University-Dominguez Hills,Los Angeles

Answer: The campus of California State University-Dominguez Hills is located in the county of Los Angeles
Table: web_client_accelerator
Question: Which accelerator name contains substring "Opera"?
SQL query:
SELECT name 
 FROM web_client_accelerator 
 WHERE name LIKE '%Opera%'
Result:
,name
0,Opera Turbo

Answer: The accelerator is named Opera Turbo.
Table: Products
Question: What is the average price for products?
SQL query:
SELECT AVG(Product_Price) AS "average Product_Price" 
 FROM Products
Result:
,average Product_Price
0,2852.7806666666665

Answer: The average product price is 2852.7806666666665.
Table: home_game, team
Question: Count the total number of games the team Boston Red Stockings attended from 1990 to 2000.
SQL query:
SELECT SUM(T1.games) AS "sum of games", T2.name AS "team name", T1.year AS "home_game year" 
 FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br 
 WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 1990 AND 2000
Result:
,team name,sum of games,home_game year
0,Boston Red Stockings,4325,1990

Answer: Boston Red Stockings attended 4325 games from 1990 to 2000.
Table: artist
Question: What is the average age of all artists?
SQL query:
SELECT AVG(Age) AS "average Age" 
 FROM artist
Result:
,average Age
0,31.428571428571427

Answer: The average age of all artists is 31.428571428571427
Table: publication
Question: Show the prices of publications whose publisher is either "Person" or "Wiley"
SQL query:
SELECT Price, Publisher 
 FROM publication 
 WHERE Publisher = 'Person' OR Publisher = 'Wiley'
Result:
,Price,Publisher
0,4100000.0,Wiley

Answer: The publisher Wiley has a price of 4100000.
Table: parties
Question: Find the payment method and phone of the party with email "enrico09@example.com".
SQL query:
SELECT payment_method_code, party_phone, party_email 
 FROM parties 
 WHERE party_email = 'enrico09@example.com'
Result:
,party_email,party_phone,payment_method_code
0,enrico09@example.com,05374656172,Cheque

Answer: The party with email enrico09@example.com and phone 05374656172 has Cheque as a payment method.
Table: enzyme
Question: What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'?
SQL query:
SELECT product, chromosome, porphyria, LOCATION 
 FROM enzyme 
 WHERE LOCATION = 'Cytosol'
Result:
,Product,Location,Porphyria,Chromosome
0,Porphobilinogen,Cytosol,ALA-Dehydratase deficiency,9q34

Answer: The product named Porphobilinogen with the 9q34 chromosome and the ALA-Dehydratase deficiency porphyria is located in the Cytosol
Table: races
Question: What are the names of all the races that occurred in the year 2017?
SQL query:
SELECT name, YEAR 
 FROM races 
 WHERE YEAR = 2017
Result:
,name,year
0,Australian Grand Prix,2017

Answer: Australian Grand Prix occurred in 2017.
Table: camera_lens
Question: How many camera lenses have a focal length longer than 15 mm?
SQL query:
SELECT COUNT(*) AS "count of camera_lens", focal_length_mm 
 FROM camera_lens 
 WHERE focal_length_mm > 15
Result:
,focal_length_mm,count of camera_lens
0,45.0,9.0

Answer: The number of camera lenses that have a focal length of 45 mm is  9
Table: instructor
Question: Find the names of all instructors in Comp. Sci. department with salary > 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 is in the Comp. Sci. department.
Table: ship
Question: List the name of ships whose nationality is not "United States".
SQL query:
SELECT Name, Nationality 
 FROM ship 
 WHERE Nationality <> 'United States'
Result:
,Name,Nationality
0,Corbridge,United Kingdom

Answer: The ship named Corbridge is from the United Kingdom.
Table: Financial_transactions
Question: Count the number of transactions.
SQL query:
SELECT COUNT(*) AS "count of Financial_transactions" 
 FROM Financial_transactions
Result:
,count of Financial_transactions
0,15

Answer: There are 15 transactions in total
Table: Residents
Question: What are the resident details containing the substring 'Miss'?
SQL query:
SELECT other_details 
 FROM Residents 
 WHERE other_details LIKE '%Miss%'
Result:
,other_details
0,Miss Naomie Osinski

Answer: The resident's details are Miss Naomie Osinski.
Table: inst
Question: Count the number of institutions.
SQL query:
SELECT COUNT(*) AS "count of inst" 
 FROM inst
Result:
,count of inst
0,8

Answer: There are 8 institutions.
Table: Rooms
Question: Find the total number of king beds available.
SQL query:
SELECT SUM(beds) AS "sum of beds", bedtype 
 FROM Rooms 
 WHERE bedtype = 'King'
Result:
,bedType,sum of beds
0,King,6

Answer: There are 6 beds of type King.
Table: professor
Question: How many professors do have a Ph.D. degree?
SQL query:
SELECT COUNT(*) AS "count of professor", prof_high_degree 
 FROM professor 
 WHERE prof_high_degree = 'Ph.D.'
Result:
,PROF_HIGH_DEGREE,count of professor
0,Ph.D.,18

Answer: There are 18 professort with a Ph.D.
Table: Vehicles
Question: List all vehicle id
SQL query:
SELECT vehicle_id 
 FROM Vehicles
Result:
,vehicle_id
0,1

Answer: The vehicle id is 1.
Table: Person
Question: How many people whose age is greater 30 and job is engineer?
SQL query:
SELECT COUNT(*) AS "count of Person", age, job 
 FROM Person 
 WHERE age > 30 AND job = 'engineer'
Result:
,age,job,count of Person
0,35,engineer,1

Answer: There is one engineer with an age of 35.
Table: bridge
Question: What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?
SQL query:
SELECT LOCATION, name 
 FROM bridge 
 WHERE name = 'Kolob Arch' OR name = 'Rainbow Bridge'
Result:
,name,location
0,Kolob Arch,"Zion National Park , Utah , USA"

Answer: The location of the bridge named Kolob Arch is Zion National Park , Utah , USA
Table: submission
Question: Compute the average score of submissions.
SQL query:
SELECT AVG(Scores) AS "average Scores" 
 FROM submission
Result:
,average Scores
0,82.9

Answer: The average score is 82.9.
Table: people
Question: Show the minimum, maximum, and average age for all people.
SQL query:
SELECT MIN(age) AS "minimum age", MAX(age) AS "maximum age", AVG(age) AS "average age" 
 FROM people
Result:
,average age,maximum age,minimum age
0,30.166666666666668,36.0,25.0

Answer: The average age is 30.166666666666668, the maximum age is 36 and the minimum age is 25.
Table: Rating
Question: What is the lowest and highest rating star?
SQL query:
SELECT MAX(stars) AS "maximum stars", MIN(stars) AS "minimum stars" 
 FROM Rating
Result:
,maximum stars,minimum stars
0,5,2

Answer: The minimum stars are 2 and the maximum stars are 5
Table: CUSTOMER, INVOICE
Question: What are the invoice dates for customers with the first name Astrid and the last name Gruber?
SQL query:
SELECT T2.InvoiceDate AS "INVOICE InvoiceDate", T1.FirstName AS "CUSTOMER FirstName", LastName 
 FROM CUSTOMER AS T1 JOIN INVOICE AS T2 ON T1.CustomerId = T2.CustomerId 
 WHERE T1.FirstName = 'Astrid' AND LastName = 'Gruber'
Result:
,LastName,CUSTOMER FirstName,INVOICE InvoiceDate
0,Gruber,Astrid,2009-12-08 00:00:00

Answer: The invoice date of the customer with last name Gruber and first name Astrid is 2009-12-08 00:00:00.
Table: body_builder
Question: How many body builders are there?
SQL query:
SELECT COUNT(*) AS "count of body_builder" 
 FROM body_builder
Result:
,count of body_builder
0,5

Answer: There are 5 body builders in total
Table: Employee
Question: What is the number of employees that have a salary between 100000 and 200000?
SQL query:
SELECT COUNT(*) AS "count of Employee", salary 
 FROM Employee 
 WHERE salary BETWEEN 100000 AND 200000
Result:
,salary,count of Employee
0,120433,7

Answer: There are 7 employees with a salary of 120433
Table: exhibition_record, exhibition
Question: What is the theme, date, and attendance for the exhibition in year 2004?
SQL query:
SELECT T2.theme AS "exhibition theme", T1.date AS "exhibition_record date", T1.attendance AS "exhibition_record attendance", T2.year AS "exhibition year" 
 FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id 
 WHERE T2.year = 2004
Result:
,exhibition year,exhibition theme,exhibition_record date,exhibition_record attendance
0,2004,Santa Claus,December 2,965

Answer: The exhibition in December 2 2004 had the theme Santa Claus and a record attendance of 965.
Table: Faculty
Question: How many faculty members does each building have? List the result with the name of the building.
SQL query:
SELECT building, COUNT(*) AS "count of Faculty" 
 FROM Faculty 
 GROUP BY building
Result:
,Building,count of Faculty
0,Barton,20

Answer: Barton building has 20 faculty members.
Table: people, perpetrator
Question: What are the heights of perpetrators in descending order of the number of people they injured?
SQL query:
SELECT T1.Height AS "people Height", T2.Injured AS "perpetrator Injured" 
 FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC
Result:
,people Height,perpetrator Injured
0,6.5,80.0

Answer: The perpetrators have a height of 6.5 and have injured 80 people
Table: Ref_Document_Types
Question: What is the description of document type 'Paper'?
SQL query:
SELECT document_type_description, document_type_code 
 FROM Ref_Document_Types 
 WHERE document_type_code = 'Paper'
Result:
,document_type_code,document_type_description
0,Paper,u

Answer: The document type Paper has the following description: u
Table: performance
Question: Show the attendances of the performances at location "TD Garden" or "Bell Centre"
SQL query:
SELECT Attendance, LOCATION 
 FROM performance 
 WHERE LOCATION = 'TD Garden' OR LOCATION = 'Bell Centre'
Result:
,Location,Attendance
0,TD Garden,165

Answer: The attendance of the performance in TD Garden is 165.
Table: Employee
Question: How many employees do we have?
SQL query:
SELECT COUNT(*) AS "count of Employee" 
 FROM Employee
Result:
,count of Employee
0,31

Answer: The number of employees is 31.
Table: review
Question: Find the average and maximum rating of all reviews.
SQL query:
SELECT AVG(rating) AS "average rating", MAX(rating) AS "maximum rating" 
 FROM review
Result:
,average rating,maximum rating
0,7.142857142857143,10.0

Answer: The average rating of all reviews is 7.14 with a max of 10
Table: district
Question: Find the name and population of district with population between 200000 and 2000000
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 with name Bahawalpur District has population 530438.
Table: Students
Question: What are the dates of the latest logon of the students with family name "Jaskolski" or "Langosh"?
SQL query:
SELECT date_of_latest_logon, family_name 
 FROM Students 
 WHERE family_name = 'Jaskolski' OR family_name = 'Langosh'
Result:
,family_name,date_of_latest_logon
0,Jaskolski,2017-06-24 22:16:27

Answer: The latest logon of Jaskolski was at 2017-06-24 22:16:27
Table: Video_games
Question: How many video games do you have?
SQL query:
SELECT COUNT(*) AS "count of Video_games" 
 FROM Video_games
Result:
,count of Video_games
0,6

Answer: There are 6 video games
Table: player, tryout
Question: What is the average number of hours spent practicing for students who got rejected?
SQL query:
SELECT AVG(T1.HS) AS "average HS", T2.decision AS "tryout decision" 
 FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID 
 WHERE T2.decision = 'no'
Result:
,average HS,tryout decision
0,925.0,no

Answer: The average HS is 925 for players with tryout decision "no".
Table: dorm
Question: How many dorms are there and what is the total capacity for each gender?
SQL query:
SELECT COUNT(*) AS "count of dorm", SUM(student_capacity) AS "sum of student_capacity", gender 
 FROM dorm 
 GROUP BY gender
Result:
,gender,count of dorm,sum of student_capacity
0,F,1,128

Answer: There is 1 dorm for females with a student capacity of 128.
Table: ROLES
Question: List all 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 code is MG, the role name is Manager and the role description is Vero harum corrupti odit ipsa vero et odio. Iste et recusandae temporibus maxime. Magni aspernatur fugit quis explicabo totam esse corrupti.
Table: Suppliers, supplier_addresses, addresses
Question: What are the names and phone numbers for all suppliers, sorted in alphabetical order of their addressed?
SQL query:
SELECT T1.supplier_name AS "Suppliers supplier_name", T1.supplier_phone AS "Suppliers supplier_phone", T3.address_details AS "addresses address_details" 
 FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id = T2.supplier_id JOIN addresses AS T3 ON T2.address_id = T3.address_id ORDER BY T3.address_details
Result:
,Suppliers supplier_name,Suppliers supplier_phone,addresses address_details
0,AB Store,1-483-283-4742,"0258 Kessler Mountains Suite 688
Mooreside, ME 41586-5022"

Answer: The supplier named AB Store has the phone 1-483-283-4742 and its address is 0258 Kessler Mountains Suite 688 Mooreside, ME 41586-5022.
Table: injury_accident
Question: What are the player name, number of matches, and information source for players who do not suffer from injury of 'Knee problem'?
SQL query:
SELECT player, number_of_matches, SOURCE, injury 
 FROM injury_accident 
 WHERE injury <> 'Knee problem'
Result:
,Injury,Player,Source,Number_of_matches
0,Clean-up surgery on his right knee,Davide Santon,inter.it,12

Answer: The player Davide Santon suffers from injury of Clean-up surgery on his right knee, the number of matches is 12 and the source is inter.it
Table: TRANSACTIONS
Question: What are the dates of transactions with at least 100 share count or amount bigger than 100?
SQL query:
SELECT date_of_transaction, share_count, amount_of_transaction 
 FROM TRANSACTIONS 
 WHERE share_count >= 100 OR amount_of_transaction >= 100
Result:
,share_count,date_of_transaction,amount_of_transaction
0,8718572,1988-09-16 19:02:51,302507.6996

Answer: In 1988-09-16 19:02:51 there were 8718572 shares with an amount of transaction of 	302507.6996.
Table: member
Question: Give me the names of members whose address is in Harford or Waterbury.
SQL query:
SELECT name, address 
 FROM member 
 WHERE address = 'Harford' OR address = 'Waterbury'
Result:
,Name,Address
0,"Breton, Robert",Waterbury

Answer: Robert Breton lives in Waterbury
Table: department
Question: What is the school code of the accounting department?
SQL query:
SELECT school_code, dept_name 
 FROM department 
 WHERE dept_name = 'Accounting'
Result:
,DEPT_NAME,SCHOOL_CODE
0,Accounting,BUS

Answer: The department with name Accounting has the school code BUS.