Dataset Viewer
Auto-converted to Parquet Duplicate
text
string
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: creative_ai(application_id, name, region, explainability_score) <</SYS>> What is the average explainability score of creative AI applications in 'Europe...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: rural_infrastructure(id, project_name, sector, country, completion_date) <</SYS>> Delete all records of rural infrastructure projects in Indonesia that ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Accidents(id, launch_provider, year, description) <</SYS>> How many accidents have been recorded for SpaceX and Blue Origin rocket launches? [/INST] SEL...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: sales(id, location, quantity, price) <</SYS>> What is the maximum quantity of seafood sold in a single transaction? [/INST] SELECT MAX(quantity) FROM sa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Movies_Release_Year(id, title, release_year, budget) <</SYS>> What is the total budget for movies released before 2010? [/INST] SELECT SUM(budget) FROM ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: attorneys(attorney_id, attorney_name, attorney_email, attorney_phone) <</SYS>> Add a new attorney named 'Oliver Martinez' with email 'oliver.martinez@la...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: co2_emissions(id, plant_name, chemical_name, co2_emission_per_ton_produced) <</SYS>> Identify the top 2 plants with the highest CO2 emissions per ton pr...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: climate_communication(project_id, project_name, location, start_date, end_date, total_cost) <</SYS>> What is the total cost of all climate communication...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: marine_species(name, conservation_status) <</SYS>> List all marine species with their conservation status. [/INST] SELECT name, conservation_status FROM...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: researchers(id, name, organization, publications) <</SYS>> What is the average number of publications per researcher for researchers working at the 'Nat...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: dapp_ranking(dapp_id, dapp_name, dapp_category, dapp_rating, dapp_downloads, dapp_region) <</SYS>> How many decentralized applications have been downloa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: forests(id, name, hectares, country) <</SYS>> Identify forests in Canada or the United States with an area larger than 1 million hectares? [/INST] SELEC...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: emergency_calls(id, city, response_time) <</SYS>> What is the maximum response time for emergency calls in the city of Los Angeles? [/INST] SELECT MAX(r...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: patrols(id, district_id, date, type) <</SYS>> What is the total number of police patrols and community engagement events in each district in January 202...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: contracts(id, category, value) <</SYS>> What is the average cybersecurity contract value? [/INST] SELECT AVG(value) as avg_value FROM contracts WHERE ca...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: arms_imports(id, country, year, quantity) <</SYS>> Delete arms_imports table records where year is before 2000 [/INST] DELETE FROM arms_imports WHERE ye...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Peacekeeping_Operations(id, country, military_personnel) <</SYS>> What is the average number of military personnel per country involved in peacekeeping ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: daily_investments(client_id, date, investment) <</SYS>> What is the maximum daily investment for each client? [/INST] SELECT client_id, MAX(investment) ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: PORTS(ID, PortName), CARGO_HANDLING(ID, PortID, CargoType, Weight) <</SYS>> List the ports with their total cargo weight for 'Fruit' type from the 'CARG...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: container_ships(ship_id, ship_name, ship_builder, year, container_type, fuel_consumption) <</SYS>> What is the minimum fuel consumption of container shi...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: asthma(id, county, state, age, prevalence) <</SYS>> Which rural areas have the highest prevalence of asthma in children? [/INST] SELECT county, state, A...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: investments(id, sector, amount, region) <</SYS>> What is the sum of investments in healthcare for each region? [/INST] SELECT i.region, SUM(i.amount) FR...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: intelligence_operations(id, operation_name, operation_date, primary_objective, personnel_count) <</SYS>> Identify the intelligence operations that have ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Donors(id, name, region) <</SYS>> How many donors are there in the 'South West' region? [/INST] SELECT COUNT(*) FROM Donors WHERE region = 'South West';...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Programs(ProgramID, ProgramName), DonorsPrograms(DonorID, ProgramID), Donations(DonationID, DonorID, DonationAmount) <</SYS>> What is the total amount d...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Donations(DonationID, DonationAmount, DonationDate) <</SYS>> What was the average donation amount for each quarter in 2022? [/INST] SELECT DATE_FORMAT(D...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: school_districts(district_id, district_name, average_mental_health_score), students(student_id, district_id, mental_health_score) <</SYS>> Insert a new ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Courses(CourseID, Name, OpenPedagogy) <</SYS>> Which are the courses that are not taken by any students in grade 12 and do not use open pedagogy? [/INST...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Employees(EmployeeID, Gender, Department, Salary, HireDate) <</SYS>> What is the average salary for each department in 2022? [/INST] SELECT Department, ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: wind_farms(id, name, country, installation_year) <</SYS>> How many wind farms were installed in Canada between 2015 and 2018? [/INST] SELECT COUNT(*) FR...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: renewable_project(id, name, country, budget) <</SYS>> List renewable energy projects in India with a budget between $50 million and $200 million. [/INST...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: carbon_prices(id, market, date, price) <</SYS>> What is the average carbon price in USD per metric ton, for the last 6 months, in the EU ETS market? [/I...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: energy_efficiency(id, building_type, energy_rating, location) <</SYS>> What is the average energy rating for commercial buildings in Texas? [/INST] SELE...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: oil_rig(id, company, location, status) <</SYS>> Delete all records in the 'oil_rig' table where the 'company' is 'XYZ Inc.' [/INST] DELETE FROM oil_rig ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: world_cup(player, match_id, running_speed) <</SYS>> What is the average running speed for each player in the 2020 World Cup? [/INST] SELECT player, AVG(...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: season_stats(season_id, player_id, assists) <</SYS>> What is the maximum number of assists provided in a single season by players from European countrie...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: players(id, name, country, points) <</SYS>> What is the total number of points scored by players from Brazil in the NBA? [/INST] SELECT SUM(points) FROM...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: medical_supplies(supply_id, organization_id, location, supply_type, supply_cost, distribution_date) <</SYS>> What is the number of medical supplies dist...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: ngos(id, country, name, project_count) <</SYS>> What is the total number of NGOs operating in Yemen and how many projects do they have? [/INST] SELECT c...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: certifications(certification_id, brand_id, certification_name) <</SYS>> How many fair trade certified products does each brand have, ordered from the mo...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Sales(id, item_name, material, revenue) <</SYS>> What is the total revenue generated by sales of eco-friendly materials? [/INST] SELECT SUM(revenue) FRO...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: shariah_compliant_institutions(name, total_transactions) <</SYS>> What are the names and total transactions of all Shariah-compliant financial instituti...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: genetic_research(id, study_name, location, start_date, end_date) <</SYS>> How many genetic research studies were conducted in the United Kingdom in 2019...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: faculty(id, name, department, gender), research_grants(id, faculty_id, amount) <</SYS>> What is the number of female faculty members in the Physics depa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Hotels(HotelID, HotelName), Bookings(BookingID, HotelID, Guests, Revenue) <</SYS>> What was the average revenue per guest for each hotel in Q2 2022? [/I...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: arctic_weather(id, date, temperature, species) <</SYS>> What is the maximum temperature recorded in the 'arctic_weather' table for each month in the yea...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: HeritageSitesReviews(ID, SiteName, Category, Reviews) <</SYS>> What is the average number of visitor reviews for heritage sites in each category? [/INST...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: language_preservation(id, language, initiative, country) <</SYS>> What is the distribution of language preservation initiatives by initiative type? [/IN...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: patients(patient_id, patient_name, date_of_birth), therapy_sessions(session_id, patient_id, therapist_id, session_date, session_duration) <</SYS>> List ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: therapists(therapist_id, name, age, gender), patients(patient_id, name, age, gender, condition), therapy_sessions(session_id, patient_id, therapist_id, s...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: patients(id, country), treatments(id, patient_id, treatment) <</SYS>> What is the number of patients in India who received group therapy? [/INST] SELECT...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Infrastructure(id, name, type, location, is_public_works, resilience_score) <</SYS>> Show the number of public works projects in California and their av...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: public_works(id, name, location, start_date, completion_date) <</SYS>> calculate the average completion time of projects in the 'public_works' table, pa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: parolee(parolee_id, year, gender, race, reoffender) <</SYS>> What is the percentage of parolees who have reoffended in Texas, broken down by gender and ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: district(id, name), restorative_justice(id, district_id, cases) <</SYS>> What is the total number of restorative justice cases per district? [/INST] SEL...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: biomass(id, species, type, biomass) <</SYS>> What is the total biomass of marine species in ascending order of depth? [/INST] SELECT type, SUM(biomass) ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: DirectorMoviesRating(MovieTitle, Director, Rating) <</SYS>> What is the average rating of movies by director in the Media database? [/INST] SELECT Direc...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: movies(id, title, rating, production_year, country) <</SYS>> What is the average rating of movies produced in the US between 2010 and 2020? [/INST] SELE...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: <</SYS>> What is the total number of military aircraft sold by GlobalDefense to the Canadian government? [/INST] SELECT SUM(quantity) FROM GlobalDefens...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: resource_depletion(mine_id, year, resource_depletion_rate) <</SYS>> Update the resource depletion metrics for the 'Aquamarine Arch' mine in Himachal Pra...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: mobile_plans(id, plan_name, data_limit) <</SYS>> Which mobile plans have a higher data limit than the average data limit for all mobile plans? [/INST] S...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: news(id, title, region) <</SYS>> How many news items have been published in 'region1'? [/INST] SELECT COUNT(*) FROM news WHERE region = 'region1'; </s>
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: news(title, author, word_count, category) <</SYS>> What is the average word count for articles in the 'opinion' category? [/INST] SELECT AVG(word_count)...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Organizations(org_id, name, mission_area) <</SYS>> What is the total number of donations for each mission_area in the 'Organizations' table? [/INST] SEL...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: EsportsEvents(EventID, EventName, GameName, PrizeMoney, EventDate), Games(GameID, GameName, Genre, ReleaseDate) <</SYS>> What is the total prize money f...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: farm_automation(id, farm_id, automation_date) <</SYS>> What is the count of farms in Nigeria that have implemented automation in the last year? [/INST] ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: HealthcareServices(Region, Service) <</SYS>> How many healthcare services are available in each region, and what is their ranking based on availability?...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: parks(park_id, area_id, park_name), areas(area_id, area_type) <</SYS>> List the names of all parks in urban areas [/INST] SELECT p.park_name FROM parks ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: companies(id, name, region), production(year, element, company_id, quantity) <</SYS>> What is the total production of Neodymium in 2020, for companies i...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: portland_housing(id, quarter, year, affordability) <</SYS>> What is the change in housing affordability in Portland from Q1 2021 to Q2 2021? [/INST] SEL...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: restaurants(id, name, category), menu_items(id, name, category, last_inspection_date, risk_score, revenue) <</SYS>> What is the total revenue and food s...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: <</SYS>> What is the difference in the total quantity of products sold in the 'apparel' category between this year and last year? [/INST] SELECT produc...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: space_debris(id, name, source_type, location, size) <</SYS>> What are the maximum and minimum sizes of space debris for each source type? [/INST] SELECT...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: cybersecurity_policies(id, name, description, date) <</SYS>> Show me the cybersecurity policies that were altered in the last week. [/INST] SELECT * FRO...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: security_incidents(id, country, date) <</SYS>> Which countries are part of the EU and have had security incidents? [/INST] SELECT DISTINCT country FROM ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: multimodal_trips_canada(trip_id, trip_duration, start_time, end_time, start_station, end_station, city, mode) <</SYS>> What is the total number of multi...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: injuries(id, union_id), unions(id, name) <</SYS>> Find the union names that have no reported workplace injuries. [/INST] SELECT name FROM unions WHERE i...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Unions(id, Sector, Membership) <</SYS>> How many unions have more than 5000 members in the 'Education' sector? [/INST] SELECT COUNT(*) FROM Unions WHERE...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: unions(id, name), workers(id, union_id, industry, wage) <</SYS>> What is the maximum weekly wage for workers in the 'retail' industry in unions? [/INST]...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Routes(route_id, departure_port, arrival_port), VesselTravel(vessel_id, route, departure_date, travel_time) <</SYS>> Find the average travel time (in da...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Vessels(id, name, type), PortCalls(id, vessel_id, port, call_date) <</SYS>> What is the count of vessels that have visited a specific port in a given mo...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Landfill_All(region, tipping_fee), Waste_Generation_All(industry, region, waste_quantity) <</SYS>> What is the average landfill tipping fee for each reg...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: wastewater_plants(id, name, location, capacity) <</SYS>> Update the capacity of a wastewater plant in the wastewater_plants table [/INST] UPDATE wastewa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: CreativeAI(application_name, fairness_score, region) <</SYS>> List algorithmic fairness scores for creative AI applications in Europe, ordered by score ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: CreativeAI(application_name, fairness_score, region) <</SYS>> Show algorithmic fairness scores for creative AI applications in Oceania, grouped by score...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: creative_ai(id, app_name, country, safety_score) <</SYS>> What is the average safety score for creative AI applications in Europe? [/INST] SELECT AVG(sa...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: models(id, dataset, satisfaction, continent) <</SYS>> What is the difference between the average satisfaction score of models trained on dataset D and d...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: crop_yields(crop_id, crop_name, region, year, crop_yield) <</SYS>> What is the maximum crop yield in 'South America' in 2021? [/INST] SELECT MAX(crop_yi...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Satellite(id, name, type, manufacturer, launch_date) <</SYS>> What are the names and launch dates of all satellites with the type 'Navigation'? [/INST] ...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: north_american_conservation_areas(id, name, area_size, state, funding) <</SYS>> What is the average habitat preservation funding per square kilometer fo...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: CountryPrograms(Country, Programs, Success) <</SYS>> What is the ratio of successful community education programs to total programs for each country, or...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: fish_stock(fish_id, species, location, biomass), feeding(feed_id, feed_type, nutrients) <</SYS>> What is the total nutrient value of feed in the 'feedin...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: MuseumY(attendee_id, visit_date), Attendees(attendee_id, first_name, last_name) <</SYS>> How many repeat attendees have visited 'MuseumY' in the past ye...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: Music(SongId, SongName, Artist, Genre, Streams) <</SYS>> Which songs have the highest and lowest streams within their genre? [/INST] SELECT SongName, Ge...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: construction_labor(state, job, cost) <</SYS>> What is the total construction labor cost for plumbers in Georgia? [/INST] SELECT SUM(cost) FROM construct...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: RainfallData(Country, Year, Rainfall) <</SYS>> Find the total rainfall for each country and year, and rank them. [/INST] SELECT Country, Year, SUM(Rainf...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: org_climate_finance(region, amount) <</SYS>> What are the average climate finances spent by organizations in 'americas' and 'europe'? [/INST] SELECT AVG...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: rd_expenditures(expenditure_date, amount, quarter, year) <</SYS>> Delete records of R&D expenditures greater than $100,000 in Q1 2021 [/INST] DELETE FRO...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: HealthcareAccessScore(Area, Score, Year) <</SYS>> Average healthcare access score in urban areas by year. [/INST] SELECT Year, AVG(Score) FROM Healthcar...
<s>[INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer user questions by generating SQL queries based on the provided database schema. Tables: HealthcareAccess(ID, Gender, AccessDate) <</SYS>> How many males in Texas have accessed healthcare services in the last month? [/INST] SELECT COUNT(*) F...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6