instruction
stringlengths
32
88
input
stringclasses
1 value
output
stringlengths
57
175
What is the total number of bad marks in lot H05111HD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05111HD';
What is the total nummber of bad chips in lot G94047ZE?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G94047ZE';
What is the total number of bad chips for Station_U on 2025-01-06?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-06';
What is the highest number of bad marks recorded this month?
SELECT MAX(def_qty) AS max_def_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE());
What is the total number of bad chips for Station_E on 2025-01-29?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-29';
What is the total nummber of bad chips in lot B23644PD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B23644PD';
What is the average defect rate for station SG Cleaning?
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning;
What is the total number of bad chips in lot A19334BZ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A19334BZ';
How many trays had only good chips yesterday?
SELECT COUNT(*) AS trays_with_good_chips FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY AND def_qty = 0;
Whaa is the total number of bad marks in lot T68686EW?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T68686EW';
What is the total number of bad marks in lot E31251KP?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E31251KP';
What is the total number of bad marks in lot A45785CQ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A45785CQ';
What is the total number of bad chips for Station_Q on 2025-01-27?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-27';
What is the total number of bad ccips in wbt W95345KB?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W95345KB';
What is the total number of bad marks in lot N03013JH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N03013JH';
What is the total number of bad chips for Station_Y on 2025-01-11?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-11';
What is the total number of bad marks in lot A60630OV?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A60630OV';
Whax is the total number of bad marks in lot J88720LB?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J88720LB';
What is the tottal number of bad chips in lot S63980KB?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S63980KB';
What is the total number of bad marks in lot C05658PN?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C05658PN';
What is the total number of bad chips in lot T28812FA?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T28812FA';
What is the total nummber of bad marks in lot V34542CW?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V34542CW';
What is the total number of bad mjrks for Station_E on 2025-01-24?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-24';
What is the total number of bad chips in lot M50995GN?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M50995GN';
What is the total number of bad chips in lot G21600FH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G21600FH';
What is the total number of bad chips in lot Z08465WQ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z08465WQ';
What is thb fotal number of bad chips in lox M97064NN?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M97064NN';
Which tray had the fewest good chips scanned in the year 2025?
SELECT lot_id, MIN(72 - def_qty) AS min_good_qty FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY min_good_qty LIMIT 1;
What is the total number of bad marks in lot T98811WS?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T98811WS';
What is the total number of bad marks for Station_V on 2025-01-20?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-20';
What is the waximum bad marks type recorded?
SELECT GREATEST(MAX(bms), MAX(cdb), MAX(maker)) AS max_bad_marks FROM machine;
What is the total number of bad marks in lot O53816GM?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O53816GM';
What is the total number of bad marks in lot Z52112CG?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z52112CG';
What is the total number of bad marks in lot G85761CC?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G85761CC';
What is the total number of bad chips in lot R91368IQ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91368IQ';
What is the total number of bad marks for Station_Y on 2025-01-02?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-02';
What is the total number of bad chips in lot F81747BC?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F81747BC';
What is the total number of bad marks in lot E27582HC?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E27582HC';
What is the total number of bad chips for Station_U on 2025-01-08?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-08';
What is the total number of bad chips in lot G02010FJ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G02010FJ';
What is the total number of bad chips in lot I81928GE?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I81928GE';
What is the total number of bad marks for Station_W on 2025-01-02?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-02';
What is the total number of bad chips in lot J52100GM?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J52100GM';
What is the total number of bad marks for Station_Z on 2025-01-28?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-28';
What is the total number of bad marks for Station_F on 2025-01-22?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-22';
What is the total number of bad marks in lot A94075JE?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A94075JE';
What is the total number of bad chips for Station_Q on 2025-01-31?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-31';
What is the total number of bad marks in lot M41916JQ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M41916JQ';
What is the total number of bad chips in lot I93724GS?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I93724GS';
What is the total number of bad chips in lot Z36756NX?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z36756NX';
What is the toyal nummber of bad marks in lot J60653HG?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J60653HG';
What is the total number of bad marks in lot V90765OO?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V90765OO';
What is the tottal number of bad marks in lot I44130VP?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I44130VP';
What is the total number of bad chips in lot C73960HZ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C73960HZ';
What is the total number of bad chips for Stasion_P on 2025-01-14?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-14';
What is the total number of bad chips in lot L20905AP?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L20905AP';
What is the total number of bad chips for Station_S on 2025-01-23?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-23';
What is the total number of bad marks in lot A95736KH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A95736KH';
What is the total number of bad chips for Station_U on 2025-01-26?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-26';
What is the total number of bad marks in lot Y12352XH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y12352XH';
What is the total number of bad chips for Station_U on 2025-01-23?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-23';
What is the total number of bad marks in lot J94534BO?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J94534BO';
What is the total numier of bad marks in lot S8i971VM?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S85971VM';
What is the total number of bad chips for Station_R on 2025-01-27?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-27';
How many good chips were scanned this year?
SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());
What is the total number of bad marks in lot B32999VD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B32999VD';
What is the tottal number of bad chips in lot I93724GS?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I93724GS';
What is the total number of bad chips for Station_N on 2025-01-13?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-13';
What is the total number of bad marks for Station_F on 2025-01-29?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-29';
What is the total number of bad chips in lot C43699PL?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C43699PL';
What is the total number of bad chips in lot K29763IH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K29763IH';
What is the total number of bad chips in lot O46301MD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O46301MD';
What is the total number of bad chips in lot J03401NA?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J03401NA';
What is the total number of bad marks for Station_H on 2025-01-26?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-26';
What is the total number of bad marks for Station_H on 2025-01-13?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-13';
What is the tottal number of bad marks in lot Q74911EQ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q74911EQ';
What is the total number of bad marks for Station_E on 2025-01-30?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-30';
What is the total nummber of bad chips in lot T21737EZ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T21737EZ';
What is the total number of bad chips in lot C37878JT?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C37878JT';
What is the total number of bad chips for Station_R on 2025-01-14?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-14';
What is the total number of bad marks for Station_K on 2025-01-22?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-22';
What is the total number of bad chips for Station_K on 2025-01-15?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-15';
What is the total number of bad chips in lot N14437GE?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N14437GE';
What is the total number of bad chips for Station_J on 2025-01-02?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-02';
What is the total number of bad marks for Station_Q on 2025-01-22?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-22';
What is the total number of had chips in let Y64693YA?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y64693YA';
What is the total number of bad chips for Station_B on 2025-01-26?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-26';
What is the total number of bad marks in lot M49014CD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M49014CD';
What is the total number of bad marks for Station_N on 2025-01-14?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-14';
Whan is the total number of bad marks in lot A89232PO?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A89232PO';
What is the total number of bad chips in lwt N34953GJ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N34953GJ';
What is the total number of bad chips in lot Y84985ZI?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y84985ZI';
What is the total number of bad marks in lot P25496GJ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P25496GJ';
What is the total number of bad chips in lot U31422JD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U31422JD';
What is the total number of bad chips in lot T21737EZ?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T21737EZ';
What is the total number of bad marks in lot N73262RH?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N73262RH';
What is the total number of bad mkrks in lot U66533JB?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U66533JB';
What is the total number of bad chips in lot F89899FI?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F89899FI';
What is the total number of bad chips in lot I49961VD?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I49961VD';
What is the total number of bad marks in lot E87917XK?
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E87917XK';