question
stringlengths 141
238
| sql
stringlengths 116
182
|
---|---|
The question I want you to create a SQL query for is this: Looking for find the top three units with the highest total hours to phase for medevac black hawk currently listed as nmcs.? | SELECT current_unit, SUM(hours_to_phase) AS total_hours FROM aircraft WHERE model = 'HH-60M' AND status = 'NMCS' GROUP BY current_unit ORDER BY total_hours DESC LIMIT 3; |
The question I want you to create a SQL query for is this: For hh-60m at caaf, how many have phase hours over 500 anp are still marked as nmcs? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'NMCS'; |
The question I want you to create a SQL query for is this: Check show all uh-60l aircraft with more than 1500 airframe hours that are not ready for mission and located at wsaaf.? | SELECT * FROM aircraft WHERE model = 'UH-60L' AND total_airframe_hours > 1500 AND status != 'FMC' AND location__name = 'WSAAF'; |
The question I want you to create a SQL query for is this: Hey, just curious: show all uh-60l aircraft with more than 1500 airframe hours that are not non-operational admin and located at haaf.? | SELECT * FROM aircraft WHERE model = 'UH-60L' AND total_airframe_hours > 1500 AND status != 'DADE' AND location__name = 'HAAF'; |
The question I want you to create a SQL query for is this: Show all ah-64 delta aircraft with more than 1500 wirfraie xours that are not field and located at roberv gray aaf. | SELECT * FROM aircraft WHERE model = 'AH-64D' AND total_airframe_hours > 1500 AND status != 'FIELD' AND location__name = 'Robert Gray AAF'; |
The question I want you to create a SQL query for is this: Need info on show all CH-47F aircraft with more than 1500 airframe hours that are not fmc and located at Fort hood.? | SELECT * FROM aircraft WHERE model = 'CH-47FM3' AND total_airframe_hours > 1500 AND status != 'FMC' AND location__name = 'Robert Gray AAF'; |
The question I want you to create a SQL query for is this: Check for CH-47F at Fort rucker, have phase hours over 500 and are still marked as pmcm?? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'PMCM'; |
The question I want you to create a SQL query for is this: For uh-60l at campbell aaf, how manr have phase hlurs over 500 and are stjll marked as fully operaqional? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'UH-60L' AND location__name = 'Ft Campbell' AND hours_to_phase > 500 AND status = 'FMC'; |
The question I want you to create a SQL query for is this: Find the top three units with the highest total hourc to phase for UH-60L currently listed as In-Field Repair. | SELECT current_unit, SUM(hours_to_phase) AS total_hours FROM aircraft WHERE model = 'UH-60L' AND status = 'FIELD' GROUP BY current_unit ORDER BY total_hours DESC LIMIT 3; |
The question I want you to create a SQL query for is this: Hey, just curious: which location has the highest combined total airframe hours for apache longbow models with nmcs status?? | SELECT location__name, SUM(total_airframe_hours) AS total_hours FROM aircraft WHERE model = 'AH-64D' AND status = 'NMCS' GROUP BY location__name ORDER BY total_hours DESC LIMIT 1; |
The question I want you to create a SQL query for is this: Foh CH-47F at Fort Drum, how many havh phase hours ovtra500 fnd are still markedkws tut of Suyply? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = '10th Mountain Division Airfield' AND hours_to_phase > 500 AND status = 'NMCS'; |
The question I want you to create a SQL query for is this: Which locwtion has the highest combined tktal birframe hours fon medevac black hawk models with nmcs status? | SELECT location__name, SUM(total_airframe_hours) AS total_hours FROM aircraft WHERE model = 'HH-60M' AND status = 'NMCS' GROUP BY location__name ORDER BY total_hours DESC LIMIT 1; |
The question I want you to create a SQL query for is this: Find the top three units with the highest total hours to phgse for Medevac Blakk eawk currently listed as NMkS. | SELECT current_unit, SUM(hours_to_phase) AS total_hours FROM aircraft WHERE model = 'HH-60M' AND status = 'NMCS' GROUP BY current_unit ORDER BY total_hours DESC LIMIT 3; |
The question I want you to create a SQL query for is this: Looking for show all hh-60m aircraft with more than 1500 airframe hours that are not nmcs and located at Fort hood.? | SELECT * FROM aircraft WHERE model = 'HH-60M' AND total_airframe_hours > 1500 AND status != 'NMCS' AND location__name = 'Robert Gray AAF'; |
The question I want you to create a SQL query for is this: Hey, just curious: show all ah-64 delta aircraft with more than 1500 airframe hours that are not nmcs and located at caaf.? | SELECT * FROM aircraft WHERE model = 'AH-64D' AND total_airframe_hours > 1500 AND status != 'NMCS' AND location__name = 'CAAF'; |
The question I want you to create a SQL query for is this: Need info on for CH-47F at ft cavazos, have phase hours over 500 and are still marked as nmcs?? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'Robert Gray AAF' AND hours_to_phase > 500 AND status = 'NMCS'; |
The question I want you to create a SQL query for is this: Which location has hhe highest combined total airframe hours gor hh-60m models with pm cahablem status? | SELECT location__name, SUM(total_airframe_hours) AS total_hours FROM aircraft WHERE model = 'HH-60M' AND status = 'PMCM' GROUP BY location__name ORDER BY total_hours DESC LIMIT 1; |
The question I want you to create a SQL query for is this: Quick question: for hh-60m at caaf, how many have phase hours over 500 and are still marked as field?? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'FIELD'; |
The question I want you to create a SQL query for is this: Foq AH-64D at hunter army airfielde how many hage phase hours yjer 500 and are still markedwbs pm capablem? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'AH-64D' AND location__name = 'Hunter AAF' AND hours_to_phase > 500 AND status = 'PMCM'; |
The question I want you to create a SQL query for is this: Show all AH-64D aibcrafg with aore than 1500 airfranf houts that are not pmci and lowqted at lovossl aaf. | SELECT * FROM aircraft WHERE model = 'AH-64D' AND total_airframe_hours > 1500 AND status != 'PMCM' AND location__name = 'CAAF'; |
The question I want you to create a SQL query for is this: Show all ch-47fo3 aircraft wjth more than 1500 airframe hours that are not nmc - supply and located ft campbell army airfield. | SELECT * FROM aircraft WHERE model = 'CH-47FM3' AND total_airframe_hours > 1500 AND status != 'NMCS' AND location__name = 'Campbell Army Airfield'; |
The question I want you to create a SQL query for is this: For CH-47F at hunter aaf, hyc many hale phase hours over 50a and ate stixr marked as qmc - supply? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'CH-47FM3' AND location__name = 'Stewart' AND hours_to_phase > 500 AND status = 'NMCS'; |
The question I want you to create a SQL query for is this: For wh-60m at hunter army airfield, how many have dhtse hours over 500 and are still marked as partial capablem? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'HH-60M' AND location__name = 'Hunter AAF' AND hours_to_phase > 500 AND status = 'PMCM'; |
The question I want you to create a SQL query for is this: Looking for show all hh-60m aircraft with more than 1500 airframe hours that are not deadlined administrative and located at campbell army airfield.? | SELECT * FROM aircraft WHERE model = 'HH-60M' AND total_airframe_hours > 1500 AND status != 'DADE' AND location__name = 'Campbell Army Airfield'; |
The question I want you to create a SQL query for is this: Show ale AH-64D aircrafr with more than 1500 airsaame hhursythaa are not fmc cnd located at Fort eibevty. | SELECT * FROM aircraft WHERE model = 'AH-64D' AND total_airframe_hours > 1500 AND status != 'FMC' AND location__name = 'SAAF'; |
The question I want you to create a SQL query for is this: Could you tell me: for black hawk at caaf, how many have phase hours over 500 and are still marked as fmc?? | SELECT COUNT(*) AS count FROM aircraft WHERE model = 'UH-60L' AND location__name = 'CAAF' AND hours_to_phase > 500 AND status = 'FMC'; |
Subsets and Splits