prompt:
What is the total number of superheroes without full name?

Hint: superheroes without full name refers to full_name IS NULL

db_name: superhero


prompt:
What is Abomination's superpower?

Hint: Abomination refers to superhero_name = 'Abomination'; superpower refers to power_name;


prompt:
How many powers does Amazo hero have?

Hint: Amazo hero refers to superhero_name = 'Amazo';


prompt:
What is Copycat's race?

Hint: Copycat is the superhero_name;


prompt:
Which hero was the fastest?

Hint: which hero refers to superhero_name; fastest refers to MAX(attribute_value) WHERE attribute_name = 'Speed';


prompt:
Which non-carcinogenic molecules consisted more than 5 atoms?

Hint: label = '-' means molecules are non-carcinogenic; molecules consisted more than 5 atoms refers to COUNT(molecule_id) > 5

db_name: toxicology


prompt:
What are the elements of the toxicology and label of molecule TR060?

Hint: TR060 is the molecule id;


prompt:
What proportion of single bonds are carcinogenic? Please provide your answer as a percentage with five decimal places.

Hint: single bond refers to bond_type = '-'; label = '+' mean molecules are carcinogenic; proportion = DIVIDE(SUM(label = '+') * 100, COUNT(bond_id)) where bond_type = '-'


prompt:
What is the most common bond type?

Hint: most common bond type refers MAX(COUNT(bond_type))


prompt:
List all the elements of the toxicology of the molecule "TR004".

Hint: TR004 is the molecule id;


prompt:
List the name of students that have attended more than 7 events.

Hint: name of students means the full name; full name refers to first_name, last_name; attended more than 7 events refers to COUNT(link_to_event) > 7


prompt:
State what kind of expenses that Sacha Harrison incurred?

Hint: kind of expenses refers to expense_description; Sacha Harrison is the full name; full name refers to first_name, last_name;


prompt:
What is the total amount of money spent for food?

Hint: total amount of money spent refers to SUM(spent); spent for food refers to category = 'Food'


prompt:
How many times was the budget in Advertisement for "Yearly Kickoff" meeting more than "October Meeting"?

Hint: budget in Advertisement refer to category = 'Advertisement' in the budget table; DIVIDE(SUM(amount when event_name = 'Yearly Kickoff'), SUM(amount when event_name = 'October Meeting'))


prompt:
Calculate the difference of the total amount spent in all events by the Student_Club in year 2019 and 2020.

Hint: The first 4 strings of the event_date values in the event table can represent year; The difference of the total amount spent = SUBTRACT(spent where YEAR(event_date) = 2019, spent where YEAR(event_date) = 2020)


prompt:
Rank schools by their average score in Writing where the score is greater than 499, showing their charter numbers.

Hint: Valid charter number means the number is not null


prompt:
Of the schools that offers a magnet program serving a grade span of Kindergarten to 8th grade, how many offers Multiple Provision Types? List the number of cities that offers a Kindergarten to 8th grade span and indicate how many schools are there serving such grade span for each city.

Hint: Kindergarten to 8th grade refers to K-8; 'Offers a magnet program' means Magnet = 1; Multiple Provision Types refers to `NSLP Provision Status` = 'Multiple Provision Types'


prompt:
What is the eligible free rate of the 10th and 11th schools with the highest enrolment for students in grades 1 through 12?

Hint: K-12 refers to students in grades 1 through 12; Eligible free rate for K-12 = `Free Meal Count (K-12)` / `Enrollment (K-12)`


prompt:
Between San Diego and Santa Barbara, which county offers the most number of schools that does not offer physical building? Indicate the amount.

Hint: 'Does not offer physical building' means Virtual = F in the database.


prompt:
What is the Percent (%) Eligible Free (K-12) in the school administered by an administrator whose first name is Alusine. List the district code of the school.

Hint: Percent (%) Eligible Free (K-12) = `Free Meal Count (K-12)` / `Enrollment (K-12)` * 100%