1sf/bird-sql-train-with-schema huggingface dataset:
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: How many schools in Brooklyn with urban metro and donations for an honoree have requested TT992 - Refill Pack for Safety Name Tags as a resource?
Evidence: in Brooklyn refers to school_city = 'Brooklyn'; urban metro refers to school_metro = 'urban'; donations for an honoree refers to for_honoree = 't'; requested TT992 - Refill Pack for Safety Name Tags refers to item_name = 'TT992 - Refill Pack for Safety Name Tags'
SQL: SELECT COUNT(T2.schoolid) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid INNER JOIN donations AS T3 ON T2.projectid = T3.projectid WHERE T2.school_city = 'Brooklyn' AND T2.school_metro = 'urban' AND T3.for_honoree = 't' AND T1.item_name = 'TT992 - Refill Pack for Safety Name Tags'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: How many schools with the highest level of poverty have received a portion of a donation included corporate sponsored gift card?
Evidence: highest level of poverty refers to poverty_level = 'highest'; received a portion of a donation included corporate sponsored gift card refers to payment_included_campaign_gift_card = 't'
SQL: SELECT COUNT(T1.schoolid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T2.payment_included_campaign_gift_card = 't' AND T1.poverty_level = 'highest poverty'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: In which city is there a greater number of schools that have received donations of less than 10 dollars?
Evidence: received donations of less than 10 dollars refers to dollar_amount = 'under_10'; city refers to school_city


SQL: SELECT T2.school_city FROM donations AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.dollar_amount = 'under_10' GROUP BY T2.school_city ORDER BY COUNT(T2.schoolid) DESC LIMIT 1
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: What is the project title of the school located at latitude 42003718 and longitude -87668289?
Evidence: latitude 42003718 refers to school_latitude = 42003718; longitude -87668289 refers to school_longitude = -87668289
SQL: SELECT T1.title FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.school_latitude = 42003718 AND T2.school_longitude = -87668289
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: Find out if the project with the title Team More Books! has a New York teaching fellow.
Evidence: title Team More Books! Refers to title = 'Team More Books!'; as a New York teaching fellow refers to teacher_ny_teaching_fellow = 't'
SQL: SELECT T2.teacher_ny_teaching_fellow FROM essays AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.title LIKE 'Team More Books!'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: What is the name of the vendors that serve resources to schools whose primary focus area is Literature?
Evidence: primary focus area is Literature refers to primary_focus_area = 'Literature'
SQL: SELECT T1.vendor_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.primary_focus_area LIKE 'Literacy%' GROUP BY T1.vendor_name ORDER BY COUNT(T2.primary_focus_area) DESC LIMIT 1
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: What is the name of the vendors serving material for projects for grades 9-12?
Evidence: for grades 9-12 refers to grade_level = 'Grades 9-12'
SQL: SELECT DISTINCT T1.vendor_name FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.grade_level = 'Grades 9-12'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: How many teachers have made some type of donation for projects in Chicago?
Evidence: in Chicago refers to school_city = 'Chicago'; teachers refers to is_teacher_acct = 't'
SQL: SELECT COUNT(DISTINCT T2.teacher_acctid) FROM donations AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T1.is_teacher_acct = 't' AND T2.school_city = 'Chicago'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: How many Rock Hill City School projects have teacher donors?
Evidence: Rock Hill City School refers to school_city = 'Rock Hill'; teacher donors refers to is_teacher_acct = 't'
SQL: SELECT COUNT(DISTINCT T1.teacher_acctid) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.school_city = 'Rock Hill' AND is_teacher_acct = 't'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: What is the total sum of the donations paid with an optional support in projects that reach more than 300 students?
Evidence: with an optional support refers to donation_included_optional_support = 't'; reach more than 300 students refers to students_reached>300
SQL: SELECT SUM(T2.dollar_amount) FROM projects AS T1 INNER JOIN donations AS T2 ON T1.projectid = T2.projectid WHERE T1.students_reached > 300 AND t2.donation_included_optional_support = 't'
Database: donor
Tables: essays, projects, donations, resources
Columns (table index, column name): -1, *, 0, projectid, 0, teacher_acctid, 0, title, 0, short_description, 0, need_statement, 0, essay, 1, projectid, 1, teacher_acctid, 1, schoolid, 1, school_ncesid, 1, school_latitude, 1, school_longitude, 1, school_city, 1, school_state, 1, school_zip, 1, school_metro, 1, school_district, 1, school_county, 1, school_charter, 1, school_magnet, 1, school_year_round, 1, school_nlns, 1, school_kipp, 1, school_charter_ready_promise, 1, teacher_prefix, 1, teacher_teach_for_america, 1, teacher_ny_teaching_fellow, 1, primary_focus_subject, 1, primary_focus_area, 1, secondary_focus_subject, 1, secondary_focus_area, 1, resource_type, 1, poverty_level, 1, grade_level, 1, fulfillment_labor_materials, 1, total_price_excluding_optional_support, 1, total_price_including_optional_support, 1, students_reached, 1, eligible_double_your_impact_match, 1, eligible_almost_home_match, 1, date_posted, 2, donationid, 2, projectid, 2, donor_acctid, 2, donor_city, 2, donor_state, 2, donor_zip, 2, is_teacher_acct, 2, donation_timestamp, 2, donation_to_project, 2, donation_optional_support, 2, donation_total, 2, dollar_amount, 2, donation_included_optional_support, 2, payment_method, 2, payment_included_acct_credit, 2, payment_included_campaign_gift_card, 2, payment_included_web_purchased_gift_card, 2, payment_was_promo_matched, 2, via_giving_page, 2, for_honoree, 2, donation_message, 3, resourceid, 3, projectid, 3, vendorid, 3, vendor_name, 3, project_resource_type, 3, item_name, 3, item_number, 3, item_unit_price, 3, item_quantity
Question: How many total items were requested for the Onslow Co School District urban metro school projects?
Evidence: Onslow Co School District refers to school_district = 'Onslow Co School District';
SQL: SELECT SUM(T1.item_quantity) FROM resources AS T1 INNER JOIN projects AS T2 ON T1.projectid = T2.projectid WHERE T2.school_metro = 'urban' AND T2.school_district = 'Onslow Co School District'