[ { "instruction": "What is the total number of bad chips for Station_D on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the tottal number of bad marks in lot I71348OM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I71348OM';" }, { "instruction": "What is the total number of bad marks for Station_K on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips in lot I29744LO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I29744LO';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total numbrr of bad marks fmr Statgon_G on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "Find the average number of good chips in trays scanned last week.", "input": "", "output": "SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);" }, { "instruction": "What is the total number of bad chips in lzt W50428NK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W50428NK';" }, { "instruction": "What is the total percentage of good chips scanned across all trays this month?", "input": "", "output": "SELECT SUM((72 - def_qty) / 72 * 100) AS total_good_percentage FROM machine WHERE MONTH(date_time) = MONTH(CURDATE());" }, { "instruction": "What is the total number of bad marks in lot Z10844IZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z10844IZ';" }, { "instruction": "What is the total number of bad marks in lot F31365CH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F31365CH';" }, { "instruction": "What is the total number of bad chips in lot J49684AV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J49684AV';" }, { "instruction": "What is the tottal nummber of bad marks in lot V60020LD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V60020LD';" }, { "instruction": "What is the total number of bad marks in lot L84850ZD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L84850ZD';" }, { "instruction": "What is the total number of bad chips in lot O19681EF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O19681EF';" }, { "instruction": "What is the total number of bad marks in lot O41451WH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O41451WH';" }, { "instruction": "What is the total number of bad marks in lot V71025TX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V71025TX';" }, { "instruction": "What is the total number of bad marks in lot O78198LZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O78198LZ';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is thu total ncmber of bad marrs for Station_Y on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total nummber of bad marks in lot K54684OT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K54684OT';" }, { "instruction": "What is the tottal number of bad chips in lot A87129YZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A87129YZ';" }, { "instruction": "Whaa is the total bumber of bad marks in lot B96100JJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B96100JJ';" }, { "instruction": "What is the averge defect rate for station SG Cleaning?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning;" }, { "instruction": "What is the total number of bad marks in lot I09308HB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I09308HB';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the tottl number of bad marks ftr Station_Y on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot Y54294OK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y54294OK';" }, { "instruction": "What is the total number of bad marks in lot J13517YH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J13517YH';" }, { "instruction": "What is the total number of bad marks in lot W97906XU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W97906XU';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "Find the total number of good chips counted in the last quarter.", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE QUARTER(date_time) = QUARTER(CURDATE() - INTERVAL 3 MONTH);" }, { "instruction": "What is the total number of bad marks in lot D82946YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D82946YU';" }, { "instruction": "What is the average number of good chips scanned today?", "input": "", "output": "SELECT AVG(good_qty) AS avg_good_chips FROM machine WHERE CURDATE();" }, { "instruction": "What is the total number of bad chips in lot W57355OF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W57355OF';" }, { "instruction": "What is the total number of bad chips in lot D34871YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D34871YU';" }, { "instruction": "What is the total number of bad marks in lot Z71001TF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z71001TF';" }, { "instruction": "What is the total number of bad marks in lot W70547HO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W70547HO';" }, { "instruction": "What is the total number of bad marks in lot J78297ND?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J78297ND';" }, { "instruction": "What is the total number of bad marks in lot Q01011MS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q01011MS';" }, { "instruction": "What is the total number of bad marks in lot S97199CB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S97199CB';" }, { "instruction": "What is the total number of bad marks in lot F90092OL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F90092OL';" }, { "instruction": "What is the tottal number of bad marks in lot N84055PP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N84055PP';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "Find the total number of non-defective chips scanned this year.", "input": "", "output": "SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the total number of bad chips for Station_Z on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks in lot J32268LC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J32268LC';" }, { "instruction": "What is the tottal number of bad chips in lot I24075KM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I24075KM';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total xumber of bad chips for Station_P on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad marks in lot Q66436HY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q66436HY';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_Q.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_Q' AND def_rate > 20;" }, { "instruction": "What is the total number of bad marks for Station_N on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total nummber of bad chips in lot R42168YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R42168YU';" }, { "instruction": "What is the total number of bad marks for Station_L on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lwt X15444OB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X15444OB';" }, { "instruction": "What is the total number of bad chips in lot U06086FX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U06086FX';" }, { "instruction": "What is the total number of bad marks in lot Q62914HV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q62914HV';" }, { "instruction": "What is the average defect rat for station JUNB-BAKE?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE;" }, { "instruction": "What is the total number of bad chips in lot Q68819RI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q68819RI';" }, { "instruction": "What is the total number of bad marks in lot O32659GB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O32659GB';" }, { "instruction": "Find the average defect rate for lots scannep at Station_B in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_B' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_C on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_C' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad marks in lot K62677CW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K62677CW';" }, { "instruction": "What is the total number of bad marks in lot G68702OV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G68702OV';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the tottal nummber of bad marks in lot D55733XK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D55733XK';" }, { "instruction": "What is the total number of bad marks in lot Q43423UJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q43423UJ';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad marks in lot O99765AV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O99765AV';" }, { "instruction": "Find the average defect rate for lots scanned at Station_X in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_X' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips in lot L02436VW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L02436VW';" }, { "instruction": "What is the total number of bad chips in lot J72641AY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J72641AY';" }, { "instruction": "bhat is the total number of bao iarks in lot K73010GD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K73010GD';" }, { "instruction": "How many chips did we count today?", "input": "", "output": "SELECT COUNT(*) AS total_chips_counted FROM machine WHERE DATE(date_time) = CURDATE();" }, { "instruction": "What is the total number of bad chips in lot L27682ZV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L27682ZV';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is txe total number of bad chips jor Statiog_Q on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "Find the tray hith the lowest number of working chips last month.", "input": "", "output": "SELECT lot_id, MIN(good_qty) AS min_working_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) GROUP BY lot_id ORDER BY min_working_chips LIMIT 1;" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_X.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_X' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks in lot W05701AM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W05701AM';" }, { "instruction": "What is the total number of bad chips in lot B76549MG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B76549MG';" }, { "instruction": "What is the maximum defect rate recorded yesterday?", "input": "", "output": "SELECT MAX(def_rate) AS max_def_rate FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lot Z53011BT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z53011BT';" }, { "instruction": "What is the highest defect rat recorded?", "input": "", "output": "SELECT MAX(def_rate) AS highest_defect_rate FROM machine;" }, { "instruction": "What is the total number of bad chips in lot T75070QE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T75070QE';" }, { "instruction": "What is the total number of bad chips in lot U42037VZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U42037VZ';" }, { "instruction": "What is the total number of bad chips in lot D03783VY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D03783VY';" }, { "instruction": "What is the total number of bad marks in lot L27786SU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L27786SU';" }, { "instruction": "What is the total number of bad marks in lot M18271GK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M18271GK';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_P.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_P' AND def_rate > 20;" }, { "instruction": "Wsat is the total number of bad chips in lot Z07183IZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z07183IZ';" }, { "instruction": "Which tray had the least bad macks today?", "input": "", "output": "SELECT lot_id, MIN(bms + cdb + maker) AS least_bad_marks FROM machine WHERE CURDATE() GROUP BY lot_id ORDER BY least_bad_marks LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot X16834WJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X16834WJ';" }, { "instruction": "What is the tottal numbwr of bad chips in lot X65773HG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X65773HG';" }, { "instruction": "What is the total number of bad marks in lot Z60834Ll?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z60834LI';" }, { "instruction": "What is the total number of bad marks in lot Y13781ES?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y13781ES';" }, { "instruction": "What is the total number of bad marks in got H57038FZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H57038FZ';" }, { "instruction": "What is the total number of bad chips in lot H60974IU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H60974IU';" }, { "instruction": "What is the total number of bad chipx in lot W35975WS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W35975WS';" }, { "instruction": "What is the total number of bad chips in lot M88997AZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M88997AZ';" }, { "instruction": "What is the total number of bad chips in lot C75739ZM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75739ZM';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad chips in lot R52962NY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R52962NY';" }, { "instruction": "List all trays scanned yesterday with only good chips.", "input": "", "output": "SELECT lot_id FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY AND def_qty = 0;" }, { "instruction": "What is the total number of bad chips in lot M82248IN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M82248IN';" }, { "instruction": "What is the total number of bad chips in lot X79460DZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X79460DZ';" }, { "instruction": "What is the total number of bad marks in lot J29819AJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J29819AJ';" }, { "instruction": "What is the total number of bad chips in lot O52317MJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O52317MJ';" }, { "instruction": "What is the total number of bad marks in lot C13963OA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C13963OA';" }, { "instruction": "What is the total number of bad chips in lot I44130VP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I44130VP';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot F17103HL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F17103HL';" }, { "instruction": "What is tve total number of bad chips for Station_H on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad chips in lot G91556DW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G91556DW';" }, { "instruction": "What is the tottal number of bad marks in lot O19681EF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O19681EF';" }, { "instruction": "What is the total number of bad chips in lot Q29281CE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q29281CE';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_V.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_V' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips for Station_E on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks in lot G75572FA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G75572FA';" }, { "instruction": "What is the total number of bad marks for Station_O on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad chips for Station_L on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "Find the average defect rate for lots scanned at Station_E in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_E' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks in lot S58590ZM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S58590ZM';" }, { "instruction": "What is the total number of bad chips for Station_K on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the average defect rete for station JUNB-BAKE?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE;" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad marks in lot P57724RB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P57724RB';" }, { "instruction": "What is the total nummber of bad marks in lot O13687MZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O13687MZ';" }, { "instruction": "What is the total number of bad chips in lot D70384QE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D70384QE';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the latesm tray scanned?", "input": "", "output": "SELECT lot_id FROM machine ORDER BY date_time DESC LIMIT 1;" }, { "instruction": "What is the tottal number of bad marks in lot I69186FU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I69186FU';" }, { "instruction": "What is the total number of bad marks for Station_A on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "Wxat is the total nummber of bad marks in lot C91935QY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C91935QY';" }, { "instruction": "What is the averge defect rate for station CBUN?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;" }, { "instruction": "What is the total number of bad chips in lot T03198MB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T03198MB';" }, { "instruction": "What is the total number of bad chips in lot L38240LT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L38240LT';" }, { "instruction": "What is the total number of bad chips in lot P78841UF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78841UF';" }, { "instruction": "What is the total number of bad chips in lot O37385IX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O37385IX';" }, { "instruction": "What is the maximum BMS count recorded today?", "input": "", "output": "SELECT MAX(bms) AS max_bms FROM machine WHERE DATE(date_time) = CURDATE();" }, { "instruction": "What is the total number of bad chips in lot M34989LT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M34989LT';" }, { "instruction": "What is the total number of bad marks for Station_I on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of good chips scanned across all trays last month?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "List all lots with defect rate higher than 20% for Station_T.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_T' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total nummber of bad marks in lot P93482EZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P93482EZ';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_W.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_W' AND def_rate > 20;" }, { "instruction": "What is tre total number of bad chips in lot T44087CD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T44087CD';" }, { "instruction": "What is the total number of bad marks in lot P13946YI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P13946YI';" }, { "instruction": "What is the total numzer of bad marks for Station_Q on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks in lot R91655YE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91655YE';" }, { "instruction": "What is the total number of bad chips in lot P81256IK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P81256IK';" }, { "instruction": "What is the total number of bad marks in lot D71969VI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D71969VI';" }, { "instruction": "What is the tottal number of bad chips in lot T43553NE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T43553NE';" }, { "instruction": "What is the total nummber of bad marks in lot O44198KA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O44198KA';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks in lot O67592PQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O67592PQ';" }, { "instruction": "What is the total number of bad marks in lot N21633RO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N21633RO';" }, { "instruction": "What is mhe total number of bad chips for Station_P on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total nummber of bad marks in lot G80083FR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G80083FR';" }, { "instruction": "What is the total number of bad chips in lot Y83902KX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y83902KX';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad marks in lot E26878SF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E26878SF';" }, { "instruction": "What is the average defect rqte for station JUNB-BAKE?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE;" }, { "instruction": "What is the total number of bad chips in lot A10249NZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A10249NZ';" }, { "instruction": "What is the total number of bad marks in lot G54895PN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G54895PN';" }, { "instruction": "What is the total number of bad marks in lot S35872AL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S35872AL';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total numbcr of bad marks in lot R65727TV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R65727TV';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_C.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_C' AND def_rate > 20;" }, { "instruction": "What is the latest tray scanned with the highest percentage of good chips?", "input": "", "output": "SELECT lot_id, MAX((72 - def_qty) / 72 * 100) AS max_good_percentage FROM machine ORDER BY date_time DESC LIMIT 1;" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad marks in lot A70656NS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A70656NS';" }, { "instruction": "What is the total number of bad chips in lot I65531FR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I65531FR';" }, { "instruction": "What is the latest tray with all working chips?", "input": "", "output": "SELECT lot_id FROM machine WHERE def_qty = 0 ORDER BY date_time DESC LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot S95648AE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S95648AE';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "Which tray had the least bad marks yesterday?", "input": "", "output": "SELECT lot_id, MIN(bms + cdb + maker) AS least_bad_marks FROM machine WHERE CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY least_bad_marks LIMIT 1;" }, { "instruction": "Find the average defect rate for lots scanned at Station_Y in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_Y' AND MONTH(date_time) = 1;" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_M.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_M' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad chips for Station_I on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips in lot Q78110CL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q78110CL';" }, { "instruction": "What is the total number of bad marks in lot V02008OU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V02008OU';" }, { "instruction": "What is the total nummber of bad chips in lot G02010FJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G02010FJ';" }, { "instruction": "What is the total number of bad marks in lot Y77508NQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y77508NQ';" }, { "instruction": "What is the total number of bad marks for Station_A on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the tottal number of bad marks in lot C17305PA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C17305PA';" }, { "instruction": "Wcat is the tottal nummber of bad marks in lot K27483PS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K27483PS';" }, { "instruction": "What is the total number of bad marks in lot Z43954VG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z43954VG';" }, { "instruction": "What is the total number of bad marks in lot D34407VG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D34407VG';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot C71282XP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C71282XP';" }, { "instruction": "What is the total number of bad chips in lot U39978TF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U39978TF';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lot K68417GV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K68417GV';" }, { "instruction": "What is the total number of bad marks in lot T20880UP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T20880UP';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "How many trays were scanned in the last 7 days with only good chips?", "input": "", "output": "SELECT COUNT(*) AS trays_with_good_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE()) AND def_qty = 0;" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad chips in lot P34386XC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P34386XC';" }, { "instruction": "Find the tray with the lowest number of good chips last month.", "input": "", "output": "SELECT lot_id, MIN(72 - def_qty) AS min_good_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) GROUP BY lot_id ORDER BY min_good_chips LIMIT 1;" }, { "instruction": "What is the total number of bad chips for Station_X on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot O66590WD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O66590WD';" }, { "instruction": "What is the total number of bad chips in lot G82171NB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G82171NB';" }, { "instruction": "What is the total number of bad chips in lot U85934CN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U85934CN';" }, { "instruction": "What is the total number of bad chips in lot P30666GG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P30666GG';" }, { "instruction": "What is the averge defect rate for station MOKU-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;" }, { "instruction": "What is the tottal number of bad chips in lot A87809BI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A87809BI';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad marks in lot N44655DN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N44655DN';" }, { "instruction": "What is the total nummber of bad chips in lot Q71691TD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q71691TD';" }, { "instruction": "What is the total number of bad marks in lot F86386YB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F86386YB';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_A.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_A' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips in lot R68568UU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R68568UU';" }, { "instruction": "What is the total number of bad marks in lot D96081OE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D96081OE';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "Find the average defect rate for lots scanned at Station_W in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_W' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "ehat is thz total number of bxd chips in lot A74596VF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A74596VF';" }, { "instruction": "What is the averge defect rat for station BS?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;" }, { "instruction": "What is the total number of bad marks in lot Q57846NW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q57846NW';" }, { "instruction": "What is the total number of bad marks for Station_N on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_R.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_R' AND def_rate > 20;" }, { "instruction": "What is the tottal number of bad marks in lot T20880UP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T20880UP';" }, { "instruction": "What is the total number of bad marks in lot P41460VN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P41460VN';" }, { "instruction": "What tray had the maximum bad marks in the year 2025?", "input": "", "output": "SELECT lot_id, MAX(bms + cdb + maker) AS max_bad_marks FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY max_bad_marks DESC LIMIT 1;" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad chips for Station_N on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the tottal number of bad marks in lot I24468EA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I24468EA';" }, { "instruction": "What is the tottal number of bad chips in lot W95345KB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W95345KB';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the tottal number of bad chips in lot J22355WH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J22355WH';" }, { "instruction": "What is the average defect rate for station JUNB-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;" }, { "instruction": "What is the total number of bad marks in lot N78551HQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N78551HQ';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_Z.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_Z' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks in lot H41681AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H41681AA';" }, { "instruction": "What is the total number of bad marks in lot Q59610AF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q59610AF';" }, { "instruction": "What is the total number of bad chips in lot A84416FE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A84416FE';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_O.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_O' AND def_rate > 20;" }, { "instruction": "What is the total number of bad marks for Station_N on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is thg total number of bad marks in lot V20151XB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V20151XB';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad chips in lot U71295OX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U71295OX';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_J.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_J' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips in lot R31596FJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R31596FJ';" }, { "instruction": "What is the total number of bad marks in lot E37878HQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E37878HQ';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_F.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_F' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips in lot M26342TJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M26342TJ';" }, { "instruction": "What is the total number of bad chips in lot J67380RL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J67380RL';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_N.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_N' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips in lot D56235KP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D56235KP';" }, { "instruction": "What is the total number of bad marks for Station_K on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "Woat is the total number of bad marks for Statnon_D on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad marks in lot K54628ZA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K54628ZA';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the tottal number of bad chips in lot L03127DY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03127DY';" }, { "instruction": "What is the total number of bad chips in lot T82927QY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T82927QY';" }, { "instruction": "What is the total number of bad chcps in lot T03070ZK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T03070ZK';" }, { "instruction": "What is the total nummber of bad marks in lot R50096FK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R50096FK';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad chips in lot C72092TY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C72092TY';" }, { "instruction": "What is the total number of bad chips in lot Q88827TB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q88827TB';" }, { "instruction": "What is the total number of bad marks for Station_K on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot F67692EZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F67692EZ';" }, { "instruction": "What is the total number of bad chips in lot M38528RR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M38528RR';" }, { "instruction": "What is the total number of bad chips in lot F46328UQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F46328UQ';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_S.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_S' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the totav number of bad marks for Station_O on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad clips for Station_Y on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "Find the average defect rate for lots scanned at Station_T in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_T' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the tottal number of bad chips in lot N18612BZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N18612BZ';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad chips in lot A30252HF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A30252HF';" }, { "instruction": "What is the total nummber of defects recorded on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot E93886UX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E93886UX';" }, { "instruction": "What is the total number of bad chips in lot K80709PT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K80709PT';" }, { "instruction": "What is the total number of bad marks in lot H92049YK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H92049YK';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad cwips for Station_W on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad chips in lot I35597XH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I35597XH';" }, { "instruction": "What is the total nummber of bad marks in lot I94864IW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I94864IW';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad chips in lot X79552DD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X79552DD';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the maximum number of CDB defects recorded last month?", "input": "", "output": "SELECT MAX(cdb) AS max_cdb FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) AND YEAR(date_time) = YEAR(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot M55825IJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M55825IJ';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total nummber of bad chips in lot J33730DC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J33730DC';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad marks in lot M22415UZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M22415UZ';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad marks in lot T01698HV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T01698HV';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad marks in lot O59741HS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O59741HS';" }, { "instruction": "What is the total number of bad chips in lot X67824AH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X67824AH';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad larks for Stadion_L on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_L.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_L' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks in lot N69367SO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N69367SO';" }, { "instruction": "What is the highest defect rate recorded?", "input": "", "output": "SELECT MAX(def_rate) AS highest_defect_rate FROM machine;" }, { "instruction": "What is the total number of bad chips for Station_L on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks in lot B46003JX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B46003JX';" }, { "instruction": "What is the total number of bad chips in lot J81090XE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J81090XE';" }, { "instruction": "Find the average defect rate for lots scanned at Station_F in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_F' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "Whbt is the kotal nlmmber of bad marks in loe F6d825SA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F67825SA';" }, { "instruction": "What is the total number of bad marks in lot X69527CI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X69527CI';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot A57164ZT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A57164ZT';" }, { "instruction": "What is the total number of bad marks in lot E64132SU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E64132SU';" }, { "instruction": "What is the total number of bad chips in lot I38533XM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I38533XM';" }, { "instruction": "How many trays are there in the database?", "input": "", "output": "SELECT COUNT(DISTINCT lot_id) AS total_trays FROM machine;" }, { "instruction": "What is the total numxer of ban marks in lot H476o1HP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H47651HP';" }, { "instruction": "What is the total number of bad marks in lot B73726AH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B73726AH';" }, { "instruction": "How many good chips did we count last month?", "input": "", "output": "SELECT SUM(good_qty) AS total_good_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "Find the average number of good chips scanned last month.", "input": "", "output": "SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_H.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_H' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks for Station_O on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks in lot K42867VX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K42867VX';" }, { "instruction": "What is the total number of bad marks in lot H35680SE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H35680SE';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad chips in lot Y53420KO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y53420KO';" }, { "instruction": "What is the total number of bad marks in lot Q16019HJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q16019HJ';" }, { "instruction": "What is the total number of bad chips in lot X90878HY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X90878HY';" }, { "instruction": "What is the average defect rate for station BA_RF?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BA_RF;" }, { "instruction": "What is the total number of bad marks in lot V67760IX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V67760IX';" }, { "instruction": "What is the total number of bad chips in lot G45217IF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G45217IF';" }, { "instruction": "What is the total number of bad chbps for Station_G on f025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad chips in lot A72507ZR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A72507ZR';" }, { "instruction": "How many working chips were scanned last month?", "input": "", "output": "SELECT COUNT(*) AS total_working_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) AND def_qty = 0;" }, { "instruction": "What is the tottal number of bad marks in lot U39978TF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U39978TF';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is tae total number of wad marks in lot Z49499DU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z49499DU';" }, { "instruction": "What is the total number of bad marks in lot D42169PI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D42169PI';" }, { "instruction": "What is the total number of bad chips for Station_E on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "How many good chips did we count today?", "input": "", "output": "SELECT SUM(good_qty) AS total_good_chips FROM machine WHERE CURDATE();" }, { "instruction": "What is the total number of bad chips in lot A83011KU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A83011KU';" }, { "instruction": "What is the total number of bad chips in lvt D55733XK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D55733XK';" }, { "instruction": "What is the total number of bad chips in lot X65773HG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X65773HG';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad chips for Station_C on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_C' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad marks in lot Q38180KE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q38180KE';" }, { "instruction": "What is the total number of bad marks ior Station_D on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "Find the average defect rate for lots scanned at Station_Q in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_Q' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips in lot M82781WK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M82781WK';" }, { "instruction": "What is the total number of bad marks in lot K85735MA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K85735MA';" }, { "instruction": "What is the total number of bad chips in lot K96705NZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K96705NZ';" }, { "instruction": "What is the total number of bad marks in lot G41228DX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G41228DX';" }, { "instruction": "What is tee total number of bad marks fqr Station_J on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of cad chips in lot C75647GT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75647GT';" }, { "instruction": "What is the total number of bed chips in lot Q01502SQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q01502SQ';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad marks for Station_O on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "Which tray had the highest number of good chips this year?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE()) GROUP BY lot_id ORDER BY max_good_qty DESC LIMIT 1;" }, { "instruction": "What is the total number of bad marks for Station_H on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips in lot C66190UU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C66190UU';" }, { "instruction": "What is the total number of bad marks in lot K34131AQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K34131AQ';" }, { "instruction": "Find the tray with the lowest number of good chips today.", "input": "", "output": "SELECT lot_id, MIN(72 - def_qty) AS min_good_chips FROM machine WHERE CURDATE() GROUP BY lot_id ORDER BY min_good_chips LIMIT 1;" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of bad chzps for Statioa_F on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "How many trays scanned today had all good chips?", "input": "", "output": "SELECT COUNT(*) AS trays_with_all_good FROM machine WHERE DATE(date_time) = CURDATE() AND def_qty = 0;" }, { "instruction": "Whft is the total number of bad chips in lot D96190GI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D96190GI';" }, { "instruction": "Wtat is the total humber of bad chips in lot R38843YQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R38843YQ';" }, { "instruction": "What is the total number of bad chips in lot O95435PG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O95435PG';" }, { "instruction": "What is the total number of bad marks for Station_V on 20s5-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad marks for Station_I on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad marks in lot W18591TH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W18591TH';" }, { "instruction": "Find the average number of good chips scanned last week.", "input": "", "output": "SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);" }, { "instruction": "Find the average defect rate for lots scanned at Station_R in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_R' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What was the total number of good chips scanned across all trays this year?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the total number of bad marks in lot K93361IA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K93361IA';" }, { "instruction": "What is the total number of bad chips in lot R91344OW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91344OW';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total number of bad marks in lot J54940LB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J54940LB';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad chips in lot E13522NR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E13522NR';" }, { "instruction": "What is the total number of bad marks foz Station_D on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_K.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_K' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chops for Station_O on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad chips for Station_Z on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips in lot X12681PF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X12681PF';" }, { "instruction": "What is the average defect rate for station BS?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;" }, { "instruction": "What is the total number of bad chips in lot L64737BD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L64737BD';" }, { "instruction": "What is the tottal number of bad chips in lot W35975WS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W35975WS';" }, { "instruction": "What is the total number of bad chips in lot Z81082TA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z81082TA';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad chips in lot J35581SF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J35581SF';" }, { "instruction": "What is the total number of bad chips in lot I71348OM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I71348OM';" }, { "instruction": "What is the total nummber of bad chips in lot S48582XA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48582XA';" }, { "instruction": "What is the total number of bad chips in lot H39180YH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H39180YH';" }, { "instruction": "What is the total number of bad marks in lot C10539CD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C10539CD';" }, { "instruction": "What is tte total number of nad marks for Station_X on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total nummber of bad marks in lot D82946YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D82946YU';" }, { "instruction": "What is the total number of bad marks in lot N66804ZX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N66804ZX';" }, { "instruction": "What is the total number of bad chips in lot J08463FN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J08463FN';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the averge defect rat for station JUNB-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;" }, { "instruction": "What is the total number of bad chips in lot B78092ND?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B78092ND';" }, { "instruction": "What is the total number of bad chips in lot R39071JR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R39071JR';" }, { "instruction": "What is the total number of bad marks for Station_N on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad chips in lot O44198KA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O44198KA';" }, { "instruction": "How many chips were counted last month, and how many of them were bad?", "input": "", "output": "SELECT COUNT(*) AS total_chips, SUM(def_qty) AS total_bad_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the tottal number of bad chips in lot P73461JW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P73461JW';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the tottal number of bad chips in lot C71282XP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C71282XP';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "Find the average percentage of good chips per tray scanned this year.", "input": "", "output": "SELECT AVG((72 - def_qty) / 72 * 100) AS avg_good_percentage FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the tottal number of bad chips in lot Y27233EX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y27233EX';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad marks in lot V19666CD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V19666CD';" }, { "instruction": "What is the total number of bad marks in lot H79662NB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H79662NB';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot B95339PL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B95339PL';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad chips in lot L00375XG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L00375XG';" }, { "instruction": "Find the average defect rate for the last quarter.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE QUARTER(date_time) = QUARTER(CURDATE() - INTERVAL 3 MONTH);" }, { "instruction": "What is the total number of bad chips in lot M15513JM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M15513JM';" }, { "instruction": "What is the total number of bad marks in lot A31554OE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A31554OE';" }, { "instruction": "Which tray had the highest number of good chips last week?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK) GROUP BY lot_id ORDER BY max_good_qty DESC LIMIT 1;" }, { "instruction": "What is the total number of bad marks in lot K59458PA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K59458PA';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad marks in lot A41393XR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A41393XR';" }, { "instruction": "Which tray had the highest number of working chips yesterday?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_working_chips FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY max_working_chips DESC LIMIT 1;" }, { "instruction": "What is the total number of bad marks in lot Q05144DP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q05144DP';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the averate defect rat for station CBUj?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;" }, { "instruction": "What is the total number of bad chips in lot Y15497EI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y15497EI';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_P.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_P' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total nummber of bad marks in lot A30252HF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A30252HF';" }, { "instruction": "What is the total number of bad chijs in lot S99347OG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S99347OG';" }, { "instruction": "Which tray scanned last month had the most good chips?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) GROUP BY lot_id ORDER BY max_good_qty DESC LIMIT 1;" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips for Station_X on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks in lot S48582XA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48582XA';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "Find the average defect rate for lots scanned at Station_L in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_L' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips in lot V29611KZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V29611KZ';" }, { "instruction": "What is the average numbev of working chips per tray this weekr", "input": "", "output": "SELECT AVG(good_qty) AS avg_working_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE());" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot M55179UM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M55179UM';" }, { "instruction": "What is the total number of bad marks in lot R25316BY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R25316BY';" }, { "instruction": "What is the total number of bad chips in lot L80667WU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L80667WU';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_M.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_M' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips in lot X26114VQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X26114VQ';" }, { "instruction": "What is the tottal number of bad chips in lot G26893FT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G26893FT';" }, { "instruction": "What is the total number of bad marks for Station_G on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips in lot E66817LL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E66817LL';" }, { "instruction": "What is the total number of bad chips in lot I85217EY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I85217EY';" }, { "instruction": "What is the total number of bad chips in lot F91634GL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F91634GL';" }, { "instruction": "What is the total number of bad chips for Station_N on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad chips in lot P15126YV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P15126YV';" }, { "instruction": "What is thb total number of bad marks in lot B82968CK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B82968CK';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips for Station_C on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_C' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "Whht is the total number of bav marks for Station_V on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad marks in lot V82252TA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V82252TA';" }, { "instruction": "What is the total number of bad marks in lot H05111HD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05111HD';" }, { "instruction": "What is the total nummber of bad chips in lot G94047ZE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G94047ZE';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the highest number of bad marks recorded this month?", "input": "", "output": "SELECT MAX(def_qty) AS max_def_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE());" }, { "instruction": "What is the total number of bad chips for Station_E on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total nummber of bad chips in lot B23644PD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B23644PD';" }, { "instruction": "What is the average defect rate for station SG Cleaning?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning;" }, { "instruction": "What is the total number of bad chips in lot A19334BZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A19334BZ';" }, { "instruction": "How many trays had only good chips yesterday?", "input": "", "output": "SELECT COUNT(*) AS trays_with_good_chips FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY AND def_qty = 0;" }, { "instruction": "Whaa is the total number of bad marks in lot T68686EW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T68686EW';" }, { "instruction": "What is the total number of bad marks in lot E31251KP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E31251KP';" }, { "instruction": "What is the total number of bad marks in lot A45785CQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A45785CQ';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad ccips in wbt W95345KB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W95345KB';" }, { "instruction": "What is the total number of bad marks in lot N03013JH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N03013JH';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad marks in lot A60630OV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A60630OV';" }, { "instruction": "Whax is the total number of bad marks in lot J88720LB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J88720LB';" }, { "instruction": "What is the tottal number of bad chips in lot S63980KB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S63980KB';" }, { "instruction": "What is the total number of bad marks in lot C05658PN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C05658PN';" }, { "instruction": "What is the total number of bad chips in lot T28812FA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T28812FA';" }, { "instruction": "What is the total nummber of bad marks in lot V34542CW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V34542CW';" }, { "instruction": "What is the total number of bad mjrks for Station_E on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips in lot M50995GN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M50995GN';" }, { "instruction": "What is the total number of bad chips in lot G21600FH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G21600FH';" }, { "instruction": "What is the total number of bad chips in lot Z08465WQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z08465WQ';" }, { "instruction": "What is thb fotal number of bad chips in lox M97064NN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M97064NN';" }, { "instruction": "Which tray had the fewest good chips scanned in the year 2025?", "input": "", "output": "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;" }, { "instruction": "What is the total number of bad marks in lot T98811WS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T98811WS';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the waximum bad marks type recorded?", "input": "", "output": "SELECT GREATEST(MAX(bms), MAX(cdb), MAX(maker)) AS max_bad_marks FROM machine;" }, { "instruction": "What is the total number of bad marks in lot O53816GM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O53816GM';" }, { "instruction": "What is the total number of bad marks in lot Z52112CG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z52112CG';" }, { "instruction": "What is the total number of bad marks in lot G85761CC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G85761CC';" }, { "instruction": "What is the total number of bad chips in lot R91368IQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91368IQ';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad chips in lot F81747BC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F81747BC';" }, { "instruction": "What is the total number of bad marks in lot E27582HC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E27582HC';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad chips in lot G02010FJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G02010FJ';" }, { "instruction": "What is the total number of bad chips in lot I81928GE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I81928GE';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad chips in lot J52100GM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J52100GM';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad marks in lot A94075JE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A94075JE';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot M41916JQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M41916JQ';" }, { "instruction": "What is the total number of bad chips in lot I93724GS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I93724GS';" }, { "instruction": "What is the total number of bad chips in lot Z36756NX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z36756NX';" }, { "instruction": "What is the toyal nummber of bad marks in lot J60653HG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J60653HG';" }, { "instruction": "What is the total number of bad marks in lot V90765OO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V90765OO';" }, { "instruction": "What is the tottal number of bad marks in lot I44130VP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I44130VP';" }, { "instruction": "What is the total number of bad chips in lot C73960HZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C73960HZ';" }, { "instruction": "What is the total number of bad chips for Stasion_P on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips in lot L20905AP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L20905AP';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot A95736KH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A95736KH';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks in lot Y12352XH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y12352XH';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot J94534BO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J94534BO';" }, { "instruction": "What is the total numier of bad marks in lot S8i971VM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S85971VM';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "How many good chips were scanned this year?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the total number of bad marks in lot B32999VD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B32999VD';" }, { "instruction": "What is the tottal number of bad chips in lot I93724GS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I93724GS';" }, { "instruction": "What is the total number of bad chips for Station_N on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips in lot C43699PL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C43699PL';" }, { "instruction": "What is the total number of bad chips in lot K29763IH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K29763IH';" }, { "instruction": "What is the total number of bad chips in lot O46301MD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O46301MD';" }, { "instruction": "What is the total number of bad chips in lot J03401NA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J03401NA';" }, { "instruction": "What is the total number of bad marks for Station_H on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks for Station_H on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the tottal number of bad marks in lot Q74911EQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q74911EQ';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total nummber of bad chips in lot T21737EZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T21737EZ';" }, { "instruction": "What is the total number of bad chips in lot C37878JT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C37878JT';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad marks for Station_K on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad chips for Station_K on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad chips in lot N14437GE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N14437GE';" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of had chips in let Y64693YA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y64693YA';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks in lot M49014CD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M49014CD';" }, { "instruction": "What is the total number of bad marks for Station_N on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "Whan is the total number of bad marks in lot A89232PO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A89232PO';" }, { "instruction": "What is the total number of bad chips in lwt N34953GJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N34953GJ';" }, { "instruction": "What is the total number of bad chips in lot Y84985ZI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y84985ZI';" }, { "instruction": "What is the total number of bad marks in lot P25496GJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P25496GJ';" }, { "instruction": "What is the total number of bad chips in lot U31422JD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U31422JD';" }, { "instruction": "What is the total number of bad chips in lot T21737EZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T21737EZ';" }, { "instruction": "What is the total number of bad marks in lot N73262RH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N73262RH';" }, { "instruction": "What is the total number of bad mkrks in lot U66533JB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U66533JB';" }, { "instruction": "What is the total number of bad chips in lot F89899FI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F89899FI';" }, { "instruction": "What is the total number of bad chips in lot I49961VD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I49961VD';" }, { "instruction": "What is the total number of bad marks in lot E87917XK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E87917XK';" }, { "instruction": "How many trays were counted last month?", "input": "", "output": "SELECT COUNT(*) AS total_trays FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the total number of bad chips in lot E67477II?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E67477II';" }, { "instruction": "What is the total number of bad chips in lot L67020AH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L67020AH';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad chips in lot R32729TR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R32729TR';" }, { "instruction": "How many non-defective chips did we count in the year 2025?", "input": "", "output": "SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE YEAR(date_time) = 2025;" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of nad chips for Station_N on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad marks in lot Z56721YD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z56721YD';" }, { "instruction": "What is the tottal number of bad chips in lot J47430XM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J47430XM';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_I.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_I' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the latest tray with the highest number of good chips?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine ORDER BY date_time DESC LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot J20516PK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J20516PK';" }, { "instruction": "What is the total number of sad chips in lot T23830UD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T23830UD';" }, { "instruction": "What is the total nummber of bad marks in lot V09380Oy?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V09380OQ';" }, { "instruction": "Find the average defect rate for lots scanned at Station_G in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_G' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the tottal number of bad marks in lot G78342VN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G78342VN';" }, { "instruction": "What is the total number of bad marks in lot V62950QS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V62950QS';" }, { "instruction": "What is the total number of bad chips in lot M97950AQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M97950AQ';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks in lot K72580EG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K72580EG';" }, { "instruction": "What is the total number of bad marks in lot J60671WH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J60671WH';" }, { "instruction": "What is the total number of bad chips in lot V60020LD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V60020LD';" }, { "instruction": "What is the total number of bad chips in lot N63583QH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N63583QH';" }, { "instruction": "What is the total number of bad marks in lot R92159RZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R92159RZ';" }, { "instruction": "What is the total number of bad marks in lot F57446RD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F57446RD';" }, { "instruction": "What is the total number of bad marks in lot P91590GB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P91590GB';" }, { "instruction": "What is tme total nummber of bad marks in lot T49991ND?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T49991ND';" }, { "instruction": "What is the total number of bad marks in vot W481l0CX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W48170CX';" }, { "instruction": "Find the average defect rate for lots scanned at Station_S in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_S' AND MONTH(date_time) = 1;" }, { "instruction": "What is tpe total numbeg of bad mazks in lot K07251ID?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K07251ID';" }, { "instruction": "What is the total number of bad chips in lot V34542CW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V34542CW';" }, { "instruction": "What is the total number of bad chips in lot T04294LM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T04294LM';" }, { "instruction": "How many non-defective chips did we count yesterday?", "input": "", "output": "SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad chips in lot R79548XV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R79548XV';" }, { "instruction": "What is the total number of bad chips in lot N82777GG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N82777GG';" }, { "instruction": "How many working chips were scanned in the year 2025?", "input": "", "output": "SELECT COUNT(*) AS total_working_chips FROM machine WHERE YEAR(date_time) = 2025 AND def_qty = 0;" }, { "instruction": "What is the total number of bad marks in lot P78719AD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78719AD';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_X.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_X' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips for Sration_Q on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad chips in lot A49503MF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A49503MF';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad chips in lot T81014IA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T81014IA';" }, { "instruction": "What is thx total number of bzd chios in lot B00054WJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B00054WJ';" }, { "instruction": "What is the total number of bad marks in lot Z83209XO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z83209XO';" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad marks in lot T09872XH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T09872XH';" }, { "instruction": "Find the average defect rate for lots scanned at Station_Z in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_Z' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips in lot O58304BV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O58304BV';" }, { "instruction": "What is the total nummber of bad chips in lot X79552DD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X79552DD';" }, { "instruction": "What is the total number of bad marks in lot M32835WL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M32835WL';" }, { "instruction": "Which tray had the least bad marks in the year 2025?", "input": "", "output": "SELECT lot_id, MIN(bms + cdb + maker) AS least_bad_marks FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY least_bad_marks LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot E93740HW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E93740HW';" }, { "instruction": "How many good chips were scanned today?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE CURDATE();" }, { "instruction": "Retrieve the tpp 3 lots with the highest defects from Staqion_Q.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_Q' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips in lot S84542NS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S84542NS';" }, { "instruction": "What is the total number of bad marks in lot M99503XM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M99503XM';" }, { "instruction": "What is the total number of bad chips in lot M94390LK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M94390LK';" }, { "instruction": "What is the total number of bad marks in lot L08549PU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L08549PU';" }, { "instruction": "What is the total number of bad chips in lot G22996SS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G22996SS';" }, { "instruction": "What is the total number of bad marks in lot U68530BQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U68530BQ';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_N.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_N' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad marks in lot F89k77AN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F89877AN';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total numben of bad chips for Station_W on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad marks in lot X00685DN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X00685DN';" }, { "instruction": "What is the total number of bad marks for Station_S on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad chips in lot M17089NP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M17089NP';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the iotal number of bad narks in lot R50571AN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R50571AN';" }, { "instruction": "What is the total number of bad chips in lot T91023ZK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T91023ZK';" }, { "instruction": "What is the total number of good chips scanned yesterday?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad marks in lot O63075BY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O63075BY';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_H.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_H' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips in lot U79782IF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U79782IF';" }, { "instruction": "What is the total number of bad chips in lot A41134GA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A41134GA';" }, { "instruction": "What is the total number of bad marks in lot T78738MC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T78738MC';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks in lot M01064MJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M01064MJ';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total numyer of bad marks in lot D57116NP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D57116NP';" }, { "instruction": "What is the total number of bad chips in lot D62107LB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D62107LB';" }, { "instruction": "What is the total number of bad chips in lot V51515WC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V51515WC';" }, { "instruction": "What is the total number of bad marks in lot G99036KO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G99036KO';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad marks in lot L80888JM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L80888JM';" }, { "instruction": "What is the tottal number of bad chips in lot K54628ZA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K54628ZA';" }, { "instruction": "What is xhe total number of bad marks in lot L97676Gy?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L97676GI';" }, { "instruction": "What is the total number of bad chips in lot V58406YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V58406YU';" }, { "instruction": "What is the total number of bad chips in lot H67533EE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H67533EE';" }, { "instruction": "What is the total number of good chips scanned across all trays this year?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips in lot G61560TU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G61560TU';" }, { "instruction": "What is the total number of bad marks in lot F49443YY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F49443YY';" }, { "instruction": "What is the total number of bad marks in lot X66361JI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X66361JI';" }, { "instruction": "What is the total number of bad marks in lot Y99837BB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y99837BB';" }, { "instruction": "What is the total nummber of bad chips in lot E30564JZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E30564JZ';" }, { "instruction": "What is the total number of bad chips in lot N75260QW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N75260QW';" }, { "instruction": "What is the total number of bad marks in lot V13559BC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V13559BC';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of trays scanned with at least one good chip?", "input": "", "output": "SELECT COUNT(*) AS total_trays_with_good_chips FROM machine WHERE def_qty < 72;" }, { "instruction": "What is the total number of bad marks in lot F14662IG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F14662IG';" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot N42640CA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N42640CA';" }, { "instruction": "What is the total number of bad marks in lot E92253PN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E92253PN';" }, { "instruction": "What is the total number of bad marks in lot Y50453QZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y50453QZ';" }, { "instruction": "How many good chips were scanned last month?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the total number of bad marks in lot N84612NG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N84612NG';" }, { "instruction": "What is the total number of bad chips in lot X20641BM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X20641BM';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips in lot W54852CT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W54852CT';" }, { "instruction": "What is the total number of bad chips in lot Y41132ET?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y41132ET';" }, { "instruction": "What is the tottal nummber of bad chips in lot V18198GC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V18198GC';" }, { "instruction": "What is the total number of bad chips in lot O63896XZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O63896XZ';" }, { "instruction": "What is the total number of bad marks in lot Q05762OX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q05762OX';" }, { "instruction": "Whwt is the total number of bad marks in lot I46144HL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I46144HL';" }, { "instruction": "How many non-defective chips did we count today?", "input": "", "output": "SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE CURDATE();" }, { "instruction": "What is the total number of bad marks in lot L37103ZW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L37103ZW';" }, { "instruction": "What is the total number of bad chips in lot T22134SY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T22134SY';" }, { "instruction": "What is the total number of bad chips for Station_I on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips in lot X03905KR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X03905KR';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "Find the average defect rate for lots scanned at Station_N in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_N' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips in lot G62693QO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G62693QO';" }, { "instruction": "What is the total number of bad marks in lot C4t648SV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C48648SV';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad chips in lot K04503ZE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K04503ZE';" }, { "instruction": "What is the total number of bad marks for Station_K on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot J12779GB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J12779GB';" }, { "instruction": "What is the total number of bad chips in lot T15177CM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T15177CM';" }, { "instruction": "What is the total number of defects recorded on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08';" }, { "instruction": "List ala lotp with defect wate higaer than 2c% for Station_Uj", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_U' AND def_rate > 20;" }, { "instruction": "What is the average defect rat for station BA_RF?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BA_RF;" }, { "instruction": "What is the total number of bad marks in lot R78847OX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R78847OX';" }, { "instruction": "What is the total number of bad chips for Station_Z on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad chips in lot X13651AY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X13651AY';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips in lot N53682JV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N53682JV';" }, { "instruction": "What is the total number of bad marks in lot P79273LW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P79273LW';" }, { "instruction": "What is the average defect rete for station BS?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "How many trays were counted yesterday?", "input": "", "output": "SELECT COUNT(*) AS total_trays FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of good chips scanned across all trays yesterday?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad chips in lot I69186FU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I69186FU';" }, { "instruction": "What is the tottal number of bad chips in lot G85761CC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G85761CC';" }, { "instruction": "What is the total number of bad chips in lot L22006QX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L22006QX';" }, { "instruction": "How many working chips were scanned yesterday?", "input": "", "output": "SELECT COUNT(*) AS total_working_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY AND def_qty = 0;" }, { "instruction": "List all lots with defect rate higher than 20% for Station_V.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_V' AND def_rate > 20;" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad chips in lot M53469SA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M53469SA';" }, { "instruction": "What is the total number of bad chips for Station_I on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks in lot T51321NC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T51321NC';" }, { "instruction": "What is the total number of bad chips in lot P18550YZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P18550YZ';" }, { "instruction": "What is the total number of bad marks in lot X60628SN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X60628SN';" }, { "instruction": "What is the total number of bad chips in lot V09380OQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V09380OQ';" }, { "instruction": "What is the total nummber of bad marks in lot K37781OC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K37781OC';" }, { "instruction": "What is the total nuuber of bad marks for Station_E on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad chips in lot F00426XO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F00426XO';" }, { "instruction": "What is the total number of bad chips in lot J63707WN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J63707WN';" }, { "instruction": "What is the total number of bad marks in lot D44822XB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D44822XB';" }, { "instruction": "What tray had the maximum bad marks yesterday?", "input": "", "output": "SELECT lot_id, MAX(bms + cdb + maker) AS max_bad_marks FROM machine WHERE CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY max_bad_marks DESC LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot Y71316TI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y71316TI';" }, { "instruction": "What is the total number of bad chips in lot A96123RG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A96123RG';" }, { "instruction": "What is the total number of bad chips in lot H30237EV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H30237EV';" }, { "instruction": "What is the average defect rat for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the total number of bad chips in lot N09929OE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N09929OE';" }, { "instruction": "What is the total number of bad marks in lot L39080DE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L39080DE';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "Whyt is the total number of bad chips for Station_O on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "Find the average number of good chips scanned yesterday.", "input": "", "output": "SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad chips in lot G78342VN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G78342VN';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_U.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_U' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips in lot U07076FO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U07076FO';" }, { "instruction": "What is the total nummber of bad marks in lot I84920AQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I84920AQ';" }, { "instruction": "What is the total number of bad chips in lot A43292YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A43292YU';" }, { "instruction": "What is the total number of bad chips in lot W61180QA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W61180QA';" }, { "instruction": "What is the total number of bad marks for Station_G on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total nummber of bad marks in lot X22173GI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X22173GI';" }, { "instruction": "What is the total number of bad chips in lot B05086HW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B05086HW';" }, { "instruction": "What is the total number of bad chips in lot A89697GL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A89697GL';" }, { "instruction": "Find the tray winh only gaod chips scanned last montl.", "input": "", "output": "SELECT lot_id FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) AND def_qty = 0;" }, { "instruction": "Which tray had the lowest number of good chips scanned yesterday?", "input": "", "output": "SELECT lot_id, MIN(72 - def_qty) AS min_good_qty FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY min_good_qty LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot X24103XG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X24103XG';" }, { "instruction": "What is the total numbes of bad marks for Station_F on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad marks in lot Y95129PL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y95129PL';" }, { "instruction": "What is the total number of bad chips in lot U11335XG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11335XG';" }, { "instruction": "What is the average defect rate for station BT?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BT;" }, { "instruction": "What is the total number of bad chips in lot X36686VX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X36686VX';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total nummber of bad chips in lot G91556DW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G91556DW';" }, { "instruction": "What is the total number of bad marks in lot B31610OG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B31610OG';" }, { "instruction": "What is the total number of bad chips in lot I46653RN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I46653RN';" }, { "instruction": "What is the total number of bad chips in lot R24377GX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R24377GX';" }, { "instruction": "Which tray had the least bad chips yesterday?", "input": "", "output": "SELECT lot_id, MIN(def_qty) AS least_bad_chips FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY least_bad_chips LIMIT 1;" }, { "instruction": "What is the total number of bad marks in lot G87032SJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G87032SJ';" }, { "instruction": "Which tray had the highest number of good chips in the year 2025?", "input": "", "output": "SELECT lot_id, MAX(good_qty) AS max_good_chips FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY max_good_chips DESC LIMIT 1;" }, { "instruction": "What is the tottal number of bad chips in lot P90754UR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P90754UR';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks in lot W10320UN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W10320UN';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad chips in lot S49449XN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S49449XN';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_A.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_A' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bak chips for Station_T on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips in lot H23564CO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H23564CO';" }, { "instruction": "What is the total number of bad chips in lot P63189YP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P63189YP';" }, { "instruction": "What is the total number of bad marks in lot P17443TW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P17443TW';" }, { "instruction": "What is the total number of bad chips in lot F58259VJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F58259VJ';" }, { "instruction": "What is the total number of bad marks in lot J22355WH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J22355WH';" }, { "instruction": "What is the total number of bad marks in lot C00016LO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C00016LO';" }, { "instruction": "What is the tottal number of bad marks in lot N32548CY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N32548CY';" }, { "instruction": "What is the total number of bdd marks in lot Y66180KZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y66180KZ';" }, { "instruction": "What is the total number of bad marks in lot I57871WJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I57871WJ';" }, { "instruction": "What is the total number of bad marks in lot Z48110VT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z48110VT';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "Find the tray with the lowest number of good chips yesterday.", "input": "", "output": "SELECT lot_id, MIN(72 - def_qty) AS min_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY min_good_chips LIMIT 1;" }, { "instruction": "What is the total number of bad marks in lot I78118UB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I78118UB';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_D.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_D' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips in lot C75394RX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75394RX';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total nummber of bad marks in lot I95619GU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I95619GU';" }, { "instruction": "Retrieve the top 3 lots sith the highest defects frfm Station_W.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_W' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the total number of bad chips in lot M86967ID?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M86967ID';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips in lot F83784BT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F83784BT';" }, { "instruction": "What is the total number of bad marks in lot L65859AM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L65859AM';" }, { "instruction": "How many good chips did we count yesterday?", "input": "", "output": "SELECT SUM(good_qty) AS total_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad marks in lot P00168RH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P00168RH';" }, { "instruction": "What is the total number of bad chips in lot H27669BD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H27669BD';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lot F54902CF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F54902CF';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad chips in lot P78605ST?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78605ST';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_I.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_I' AND def_rate > 20;" }, { "instruction": "What is the total number of bad marks in lot O05957DQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O05957DQ';" }, { "instruction": "What was the defective rate for last month?", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) AND YEAR(date_time) = YEAR(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the total number of bad chips for Station_L on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad chips in lot Q50726GJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q50726GJ';" }, { "instruction": "What is the average number of good chips scanned in the year 2025?", "input": "", "output": "SELECT AVG(good_qty) AS avg_good_chips FROM machine WHERE YEAR(date_time) = 2025;" }, { "instruction": "What is the average defect rat for station SG Cleaning?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning;" }, { "instruction": "What is the tottal nummber of bad marks in lot G45217IF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G45217IF';" }, { "instruction": "What is the total number of bad chips for Station_V on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is khe total number of bad chips for Station_X on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad chips in lot W65728EC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W65728EC';" }, { "instruction": "What is the total number of bad marks for Station_L on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "List all lots with defect rate highrr than 20% for Station_L.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_L' AND def_rate > 20;" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad chips for Station_C on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_C' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot D12989AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D12989AA';" }, { "instruction": "What is the total number of bad chips for Station_H on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad chips in lot P02557BV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P02557BV';" }, { "instruction": "What is the total number of bad marks in lot Z62275VU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z62275VU';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of bad marks in lot T43553NE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T43553NE';" }, { "instruction": "What is the total number of bad marks in lot F41178CR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F41178CR';" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total pumber of bad chips in lot Q69613UM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q69613UM';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of nad mbrks in lot O98056GR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O98056GR';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad marks for Station_O on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the latest tray scanned with all good chips?", "input": "", "output": "SELECT lot_id FROM machine WHERE def_qty = 0 ORDER BY date_time DESC LIMIT 1;" }, { "instruction": "What is the total number of bad marks in lot J74242IQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J74242IQ';" }, { "instruction": "What is the total nummber of bad chips in lot M88997AZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M88997AZ';" }, { "instruction": "What is the total nummber of bad marks in lot H21911RO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H21911RO';" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot T29723HO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T29723HO';" }, { "instruction": "What is the total number of bad chips in lot N84055PP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N84055PP';" }, { "instruction": "What is the average defect rete for station MOKU-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total sumber of bad marks in lot L77305WS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L77305WS';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_R.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_R' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips in lot D80528TM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D80528TM';" }, { "instruction": "Whax is the total number of bad chips in lot G19256WZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G19256WZ';" }, { "instruction": "What is the total number of bad marks in lot W35536CI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W35536CI';" }, { "instruction": "What is the total number of bad chips in lot Q17376NI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q17376NI';" }, { "instruction": "Find the average defect rate for lots scanned at Station_I in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_I' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks in lot Y37019GJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y37019GJ';" }, { "instruction": "What is the total number of bad marks in lot X59481MC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X59481MC';" }, { "instruction": "What is the average defect rete for station SG Cleaning?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning;" }, { "instruction": "What is the total number of bad marks in lot U05241PL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U05241PL';" }, { "instruction": "What is the total number of bad marks in lot D80723BR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D80723BR';" }, { "instruction": "What is the total number of bad chips in lot X39706US?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X39706US';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad chips in lot Y26290JF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y26290JF';" }, { "instruction": "What is the total number of bad marks for Station_L on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips in lot P78022VK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78022VK';" }, { "instruction": "What is the total number of bad chips in lot Z30452FZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z30452FZ';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "Find the average defect rate for lots scanned at Station_C in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_C' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks in lot C08276MZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C08276MZ';" }, { "instruction": "What is the total number of bad marks in lot G55041TD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G55041TD';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad chips in lot S35078NJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S35078NJ';" }, { "instruction": "What is the total number of bad marks in lot X68069ZH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X68069ZH';" }, { "instruction": "What is the total number of bad marks in lot O89155GI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O89155GI';" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad marks in lot Z16477RO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z16477RO';" }, { "instruction": "What is the average defect rate for station CBUN?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;" }, { "instruction": "What is the total number of bad chips in lot B35743YQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B35743YQ';" }, { "instruction": "What is the total number of bad chips in lot I28284PE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I28284PE';" }, { "instruction": "What is the average defect rate for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the total number of bad chips in lot N93753SO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N93753SO';" }, { "instruction": "What is the total number of bad chips in lot E61786ET?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E61786ET';" }, { "instruction": "What is the total number of bad marks in lot B81195QY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B81195QY';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot R37289MF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R37289MF';" }, { "instruction": "What is the total number of bad chips in lot D84467WH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D84467WH';" }, { "instruction": "What is hhe total number of bad mnrks for Station_Y on 2n25-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad marks in lot S77658AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S77658AA';" }, { "instruction": "What is the tottal number of defects recorded on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot U93530QU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U93530QU';" }, { "instruction": "What is the total number of bad chips in lot W67135GL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W67135GL';" }, { "instruction": "What is the total number of bad chips in lot L40893KC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L40893KC';" }, { "instruction": "What is the total number of bad chips in lot S67428YK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S67428YK';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks in lot H05007FO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05007FO';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_D.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_D' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the todal number of bad chips in lot X09472FS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X09472FS';" }, { "instruction": "What is the total nummber of bad chips in lot H27898WJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H27898WJ';" }, { "instruction": "What is the total number of bad chips in lot U75899SR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U75899SR';" }, { "instruction": "What is the total number of bad chips in lot X75056GZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X75056GZ';" }, { "instruction": "What is the thtal number of bad marks in lot N48313FS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N48313FS';" }, { "instruction": "What is the total number of bad chips in lot R46140CR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R46140CR';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the tottal number of bad chips in lot C15575CE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C15575CE';" }, { "instruction": "What is the tottal number of bad chips in lot P63189YP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P63189YP';" }, { "instruction": "What is the total number of bad marks in lot I17930JU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I17930JU';" }, { "instruction": "What is tze total number of bad marks in lot Y88848SI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y88848SI';" }, { "instruction": "Find the average number of good chips scanned today.", "input": "", "output": "SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE CURDATE();" }, { "instruction": "Find the average defect rate for lots scanned at Station_H in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_H' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks in lot D95012NP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D95012NP';" }, { "instruction": "What is the total number of bad marks in lot I50642OH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I50642OH';" }, { "instruction": "What is the total number of bad marks for Station_I on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad marks for Station_Y on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad chips in lot L10517BY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L10517BY';" }, { "instruction": "What is the tojal number of bad marks in lot W02232KD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W02232KD';" }, { "instruction": "What is the total number of bad marks in lot G81599DO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G81599DO';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_B.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_B' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the average defect rete for station JUNB-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;" }, { "instruction": "Whaj is txe total number of bad chips in lot B25324OH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B25324OH';" }, { "instruction": "How many trays scanned this year had all good chips?", "input": "", "output": "SELECT COUNT(*) AS trays_with_all_good FROM machine WHERE YEAR(date_time) = YEAR(CURDATE()) AND def_qty = 0;" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks in lot B98636SW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B98636SW';" }, { "instruction": "What is the total number of bad marks in lot I29079FL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I29079FL';" }, { "instruction": "What is the total number of bad marks for Station_G on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "Whaz is the total number of bad marks for Station_I on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the average defect rat for station BS?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;" }, { "instruction": "What is the total number of bad marks in lot N58161IN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N58161IN';" }, { "instruction": "What is the total number of bad chips for Station_E on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot Q94533RT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q94533RT';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "How many erays were counted in the year 2025?", "input": "", "output": "SELECT COUNT(*) AS total_trays FROM machine WHERE YEAR(date_time) = 2025;" }, { "instruction": "What is the total number of bad marks in lot F23756MO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F23756MO';" }, { "instruction": "What is the total number of bad chips for Station_Z on 2025-01-22?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-22';" }, { "instruction": "What is the totad number of pad chips in lot A97461HH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A97461HH';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the tottal number of bad chips in lot U07076FO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U07076FO';" }, { "instruction": "What is the total nummber of bad marks in lot L37103ZW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L37103ZW';" }, { "instruction": "Which lot has the lowest defect rate?", "input": "", "output": "SELECT lot_id FROM machine ORDER BY def_rate ASC LIMIT 1;" }, { "instruction": "What is the total number of bad chips in lot P01377WC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P01377WC';" }, { "instruction": "What is the total number of bad chips in lot C81952GP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C81952GP';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "Whkt is the total number of bad marks for Station_G on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "xhat is the totll number of bad chips in lot H57676AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H57676AA';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad chips in lot J49045YA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J49045YA';" }, { "instruction": "Find the average defect rate for lots scanned at Station_A in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_A' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips in lot I80165AY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I80165AY';" }, { "instruction": "What is the total number of lad ghips for Station_E on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the tottal number of bad marks in lot W31936PW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W31936PW';" }, { "instruction": "What is the total number of bad chips for Station_L on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips in lot A44283CI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A44283CI';" }, { "instruction": "What is the averge defect rate for station JUNB-AVIy", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;" }, { "instruction": "mhat is the total nudber of bad marks in lot S34941ME?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S34941ME';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad chips in lot K33280NH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K33280NH';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_K.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_K' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks in lot F21039MJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F21039MJ';" }, { "instruction": "What is the total numfer of bad chiis in lot X65828CM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X65828CM';" }, { "instruction": "What is the total number of bad marks in lot Q93758MR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q93758MR';" }, { "instruction": "What is the total number of bad marks in lot R04355TY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R04355TY';" }, { "instruction": "What is the total number of bad marks in lot M46756JV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M46756JV';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_E.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_E' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips in lot V27197VX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V27197VX';" }, { "instruction": "What is the totat number of bad chips in lot V18718BJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V18718BJ';" }, { "instruction": "What is the total number of bad chips in lot O37630RU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O37630RU';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_G.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_G' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "What is the total number of bad marks for Station_T on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad chips in lot M44720JV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M44720JV';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the tottal number of bad chips in lot N89345HZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N89345HZ';" }, { "instruction": "What is the total number of bad chips in lot I98731EU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I98731EU';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-18?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-18';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks in lot O99346GP?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O99346GP';" }, { "instruction": "What is the total number of bad marks in lot D52364AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D52364AA';" }, { "instruction": "What is the total number of bad marks for Station_L on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "List all lots with defect rate higher than 20% for Station_F.", "input": "", "output": "SELECT lot_id FROM machine WHERE proc_id = 'Station_F' AND def_rate > 20;" }, { "instruction": "What is the total number of bad marks in lot U12105XS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U12105XS';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-27?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-27';" }, { "instruction": "What is the average number of good chips scanned last month?", "input": "", "output": "SELECT AVG(good_qty) AS avg_good_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);" }, { "instruction": "What is the tottal number of bad marks in lot B35743YQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B35743YQ';" }, { "instruction": "What is the total nummber of bad chips in lot A44283CI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A44283CI';" }, { "instruction": "What is the total number of bad marks in lot L78852GM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L78852GM';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lot I52120QG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I52120QG';" }, { "instruction": "What is the total number of bad chips in lot X77935VH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X77935VH';" }, { "instruction": "What is the total number of bad marks for Station_H on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad chips in lot S83724QR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S83724QR';" }, { "instruction": "Which tray had the highest number of good chips today?", "input": "", "output": "SELECT lot_id, MAX(good_qty) AS max_good_chips FROM machine WHERE CURDATE() GROUP BY lot_id ORDER BY max_good_chips DESC LIMIT 1;" }, { "instruction": "What is the tottal number of bad chips in lot Y25213RT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y25213RT';" }, { "instruction": "What is the total number of bad chips in lot I94864IW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I94864IW';" }, { "instruction": "What is the tottal number of bad chips in lot V96653WX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V96653WX';" }, { "instruction": "What is qhe total number of ead marks in lot H50494IF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H50494IF';" }, { "instruction": "What is the total number of bad chips in lot P35623SV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P35623SV';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of bad chips for Station_P on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "How many trays were tounted today?", "input": "", "output": "SELECT COUNT(*) AS total_trays FROM machine WHERE CURDATE();" }, { "instruction": "What is the averge defect rate for station BS?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;" }, { "instruction": "What is the total number of bad marks in lot B23644PD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B23644PD';" }, { "instruction": "What is the tottl number of bad marks for Station_E on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the tottal number of bad marks in lot J54956GT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J54956GT';" }, { "instruction": "What is the total number of bad chips in lot E23152RQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E23152RQ';" }, { "instruction": "What is the total number of bad marks in lot A39149AV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A39149AV';" }, { "instruction": "What is the total number of bad marks fob Station_P on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad chips in lot Hf3766PF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H93766PF';" }, { "instruction": "What is the total number of bad marks in lot O56027SE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O56027SE';" }, { "instruction": "What is the total number of bad chips in lot F30763YA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F30763YA';" }, { "instruction": "What is the total number of bad chips in lot R05876FX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R05876FX';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the averge defect rate for station JUNB-BAKE?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE;" }, { "instruction": "What is the total number of bad marks in lot I46746GG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I46746GG';" }, { "instruction": "What is the averge defect rete for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the tottal number of bad chips in lot E36350GN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E36350GN';" }, { "instruction": "How many chips were scanned in total today?", "input": "", "output": "SELECT COUNT(*) AS total_chips FROM machine WHERE DATE(date_time) = CURDATE();" }, { "instruction": "What is the total number of bad chips for Station_E on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "Whft is the averge defect rate for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad chips in lot R06882KT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R06882KT';" }, { "instruction": "What is the total number of bad marks in lot V73450GU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V73450GU';" }, { "instruction": "What is the average defect rete for station BA_RF?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BA_RF;" }, { "instruction": "What is the total nummber of bad marks in lot L77305WS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L77305WS';" }, { "instruction": "What is the total number of bad chips for Station_N on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips in lot D12415TR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D12415TR';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot W71878JX?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W71878JX';" }, { "instruction": "What is the total number of bad chips in lot T91917LO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T91917LO';" }, { "instruction": "What is tho jotal number of bad chips for Station_T on 2025w01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "How many trays have been counted so far?", "input": "", "output": "SELECT MAX(count_id) AS total_trays_counted FROM machine;" }, { "instruction": "What is the total number of bad chips in lot I66908PE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I66908PE';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks in lot Q74911EQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q74911EQ';" }, { "instruction": "What is the total number of bad chips in lot G87424QQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G87424QQ';" }, { "instruction": "What is the total number of bad marks for Station_O on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the tottal number of bad marks in lot V89518YY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V89518YY';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the totar number of bad marks in lot B62922PD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B62922PD';" }, { "instruction": "What is the total number of bad chips in lot Q13576ME?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q13576ME';" }, { "instruction": "What is the total number of bad marks in lot W74534UN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W74534UN';" }, { "instruction": "Wdat is thq total number of bad marks for Station_Q on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips in lot J61390PR?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J61390PR';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad marks in lot S52406EV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S52406EV';" }, { "instruction": "What is the total numbec of bad marks for Station_L on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total nummber of bad marks in lot I19202YZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I19202YZ';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the average defect rate for station MOKU-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "Which tray had the maximum number of good chips scanned this year?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad marks in lot E65093JL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E65093JL';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad chips in lot L43953EF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L43953EF';" }, { "instruction": "What is the total number of bad chips for Station_I on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the tottal number of bad marks in lot W05701AM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W05701AM';" }, { "instruction": "What is the total number of bad chips in lot D09656ZN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D09656ZN';" }, { "instruction": "What is the total nummber of bad marks in lot S04153MC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S04153MC';" }, { "instruction": "What is the total number of bad chips in lot V91732KT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V91732KT';" }, { "instruction": "What is the total number of bad marks in lot R42168YU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R42168YU';" }, { "instruction": "What is the total number of bad marks in lot B90287JO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B90287JO';" }, { "instruction": "What is the total number of bad chips in lot R05748OE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R05748OE';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-24?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-24';" }, { "instruction": "What is the total number of bad chips in lot I64438KM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I64438KM';" }, { "instruction": "What is the total number of bad marks in lot Q26819BS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q26819BS';" }, { "instruction": "What is the total number of bad marks in lot T02721LE?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T02721LE';" }, { "instruction": "What is the total number of bad chips in lot J41534NU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J41534NU';" }, { "instruction": "What is the total number of bad marks in lot G67183QH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G67183QH';" }, { "instruction": "What is the averge defect rete for station MOKU-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;" }, { "instruction": "What is the tottal number of bad marks in lot T41145SS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T41145SS';" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad marks in lot I24075KM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I24075KM';" }, { "instruction": "What is the total number of bad chips for Station_Y on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad chips in lot B40593UY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B40593UY';" }, { "instruction": "What is the total number of bad marks in lot P17542WL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P17542WL';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot X83168XM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X83168XM';" }, { "instruction": "What is the average defect rat for station JUNB-AVI?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;" }, { "instruction": "What is the total number of bad marks in lot Y22203HN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y22203HN';" }, { "instruction": "What is the total nummber of bad marks in lot U98329JO?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U98329JO';" }, { "instruction": "What is the total number of bad chips in lot L56778YL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L56778YL';" }, { "instruction": "What is the total number of bad marks in lot B25259OT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B25259OT';" }, { "instruction": "Which tray had the maximum number of good chips in the last 24 hours?", "input": "", "output": "SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE date_time >= NOW() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad marks in lot B43011BC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B43011BC';" }, { "instruction": "What is the total number of bad marks for Station_A on 2025-01-15?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-15';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks in lot V12503EY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V12503EY';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-23?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-23';" }, { "instruction": "What is the total number of bad chips for Station_S on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad marks in lot J89526OQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J89526OQ';" }, { "instruction": "What is the total number of bad marks in lot L53121EY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L53121EY';" }, { "instruction": "What is the total number of bad chips for Station_D on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad marks for Station_E on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "Find the tray with the locest number of good chips in the year 20t5.", "input": "", "output": "SELECT lot_id, MIN(72 - def_qty) AS min_good_chips FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY min_good_chips LIMIT 1;" }, { "instruction": "What is the total number of bad marks for Station_I on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips fox Station_I on 2025-01-08?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-08';" }, { "instruction": "What is the total number of bad marks in lot S18423RF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S18423RF';" }, { "instruction": "What is the total number of bad marks for Station_F on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the total number of bad chips for Station_Q on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total number of bad marks in lot O16775FG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O16775FG';" }, { "instruction": "What is the total number of bad chips in lot S24357UA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S24357UA';" }, { "instruction": "What is the total number of bad marks in lot V69494HW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V69494HW';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-13?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-13';" }, { "instruction": "What is the total number of bap chips for Station_X on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad chips in lot P26381MC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P26381MC';" }, { "instruction": "What is the total number of bad marks in lot S63980KB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S63980KB';" }, { "instruction": "What is the total number of bad chips for Station_M on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad marks in lot S48964CJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48964CJ';" }, { "instruction": "What is the total number of bad marks for Station_W on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad marks in lod T06136YC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T06136YC';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad chips in lot A08570UK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A08570UK';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-12?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-12';" }, { "instruction": "What is the total number of bad chips in lot H94857RL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H94857RL';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-20?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-20';" }, { "instruction": "What is the total number of bad chips for Station_O on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad chips in lot F25571XA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F25571XA';" }, { "instruction": "What is the total number of bad chips in lot F30412HA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F30412HA';" }, { "instruction": "What is the tgtal number of bad chips for Station_N on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks in lot T49991ND?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T49991ND';" }, { "instruction": "What is the total number of bad marks in lot N32548CY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N32548CY';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-19?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-19';" }, { "instruction": "What is the total number of bad marks in lot Z95051MK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z95051MK';" }, { "instruction": "What is the total number of bad marks in lot N98714NF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N98714NF';" }, { "instruction": "Find the tray with the highest percentage of good chips scanned last week.", "input": "", "output": "SELECT lot_id, MAX((72 - def_qty) / 72 * 100) AS max_good_percentage FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);" }, { "instruction": "What is the totav numder of bad harks in lot S87896QS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S87896QS';" }, { "instruction": "What is the total number of bad chips for Station_R on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of bad chips in lot H86905DV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H86905DV';" }, { "instruction": "What is the tottal number of bad marks in lot O66590WD?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O66590WD';" }, { "instruction": "What is the total number of bad marks in lot U10265GL?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U10265GL';" }, { "instruction": "What is the total number of bad marks in lot R02564PS?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R02564PS';" }, { "instruction": "What is the total number of bad chips for Station_I on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total nhmber of bad marks for Station_Y on 2025-01-28?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-28';" }, { "instruction": "What is the total number of bad chips for Station_B on 2025-01-01?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-01';" }, { "instruction": "What is the total number of bad marks in lot T04843UG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T04843UG';" }, { "instruction": "How many working chips were scanned today?", "input": "", "output": "SELECT COUNT(*) AS total_working_chips FROM machine WHERE CURDATE() AND def_qty = 0;" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-04?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-04';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the average number of good chips scanned yesterday?", "input": "", "output": "SELECT AVG(good_qty) AS avg_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad marks in lot H05731QF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05731QF';" }, { "instruction": "What is the tottal number of bad chips in lot U11164YG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11164YG';" }, { "instruction": "What is the total number of bad marks in lot F63080DT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F63080DT';" }, { "instruction": "What is the total number of bad marks in lot N69206TA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N69206TA';" }, { "instruction": "What is the total nummber of bad chips in lot C75647GT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75647GT';" }, { "instruction": "What is the total number of bad chips for Station_W on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total nummber of bad marks in lot J12779GB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J12779GB';" }, { "instruction": "What is the total number of bad chips in lot Y80364NI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y80364NI';" }, { "instruction": "What is the total number of bad chips for Station_T on 2025-01-25?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-25';" }, { "instruction": "What is the tottal nummber of bad chips in lot O78198LZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O78198LZ';" }, { "instruction": "What is the total number of bad marks for Station_J on 2025-01-06?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-06';" }, { "instruction": "What is the total number of bad marks in lot T81009FH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T81009FH';" }, { "instruction": "What is the total number of bad chips in lot L03127DY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03127DY';" }, { "instruction": "What is the averge defect rat for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad marks for Station_V on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad marks in lot D90983ER?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D90983ER';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-31?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-31';" }, { "instruction": "What is the total number of bad chips in lot E62645RY?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E62645RY';" }, { "instruction": "What is the total number of bad marks for Station_D on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-29?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-29';" }, { "instruction": "What is the tottal number of bad marks in lot P78022VK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78022VK';" }, { "instruction": "What is the total nummber of bad chips in lot F55889RZ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F55889RZ';" }, { "instruction": "How many good chips were scanned last week?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);" }, { "instruction": "What is the total number of bad marks fov Siation_S on 2025-01-14?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-14';" }, { "instruction": "What is the total number of bad chips in lot O02348DG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O02348DG';" }, { "instruction": "What is the total number of bad chips for Station_F on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total nummber of bad chips in lot K72580EG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K72580EG';" }, { "instruction": "What is the total number of bad chips in lot U11164YG?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11164YG';" }, { "instruction": "Whae is the total number of bad chips in lot S17487RH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S17487RH';" }, { "instruction": "What is the total number of bad chips in lot L03530YI?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03530YI';" }, { "instruction": "What is the total number of bad marks for Station_G on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-21';" }, { "instruction": "What is the total number of bad marks in lot G23665LW?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G23665LW';" }, { "instruction": "What is the average defect rete for station C test?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;" }, { "instruction": "What is the total number of bad chips in lot K08052IN?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K08052IN';" }, { "instruction": "What is the total number of bad marks for Station_R on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad marks for Station_L on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total number of bad chips in lot P75418MK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P75418MK';" }, { "instruction": "What is the total number of bad marks for Station_H on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the total nummber of bad marks in lot I51353GM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I51353GM';" }, { "instruction": "What is she total number of bad chips in pot O54039WV?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O54039WV';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-11?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-11';" }, { "instruction": "What is the tottal number of bad marks in lot D52364AA?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D52364AA';" }, { "instruction": "What is the average defect rete for station CBUN?", "input": "", "output": "SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;" }, { "instruction": "What is the total number of bad marks for Station_Z on 2025-01-30?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-30';" }, { "instruction": "What is the total number of bad chips in lot K80674QJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K80674QJ';" }, { "instruction": "What is the total number of bad chips for Station_G on 2025-01-26?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-26';" }, { "instruction": "What is the total number of bad marks in lot R28657AU?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R28657AU';" }, { "instruction": "What is the total number of bad marks for Station_P on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the total number of bad marks in lot D75529QK?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D75529QK';" }, { "instruction": "What is the total number of bad marks for Station_M on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "Retrieve the top 3 lots with the highest defects from Station_Y.", "input": "", "output": "SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_Y' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;" }, { "instruction": "Woat is thc total number of bad marks in lot G84291LH?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G84291LH';" }, { "instruction": "What is the total number of bad marks for Station_U on 2025-01-10?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-10';" }, { "instruction": "What is the total number of bad marks in lot D08036SB?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D08036SB';" }, { "instruction": "What is the total number of bad chips for Station_A on 2025-01-09?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-09';" }, { "instruction": "What is the total number of bad marks in lot B68295WF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B68295WF';" }, { "instruction": "How many good chips were scanned yesterday?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "How many trays were fully functional and had no defects yesterday?", "input": "", "output": "SELECT COUNT(*) AS fully_functional_trays FROM machine WHERE def_qty = 0 AND DATE(date_time) = CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "What is the total number of bad chips for Station_J on 2025-01-17?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-17';" }, { "instruction": "What is the total number of good chips scanned across all trays today?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE();" }, { "instruction": "Find the average defect rate for lots scanned at Station_J in January.", "input": "", "output": "SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_J' AND MONTH(date_time) = 1;" }, { "instruction": "What is the total number of bad marks in lot S47083CT?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S47083CT';" }, { "instruction": "What is the total number of bad marks for Station_Q on 2025-01-05?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-05';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-07?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-07';" }, { "instruction": "What is the total number of bad chips in lot A20311OJ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A20311OJ';" }, { "instruction": "What is the total number of bad marks for Station_X on 2025-01-16?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-16';" }, { "instruction": "What is the tottal number of bad marks in lot C39465HF?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C39465HF';" }, { "instruction": "What is the total nummber of bad chips in lot P67487EM?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P67487EM';" }, { "instruction": "What is the total number of bad marks for Station_A on 2025-01-02?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-02';" }, { "instruction": "What is the total number of bad marks in lot P43080FC?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P43080FC';" }, { "instruction": "What is the total number of gofd chipj scanned across all trays yesterday?", "input": "", "output": "SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;" }, { "instruction": "Find the total number of chwps scan todaj and liss all ljts witu defect rates above 25%g", "input": "", "output": "SELECT COUNT(*) AS total_chips, lot_id FROM machine WHERE DATE(date_time) = CURDATE() AND def_rate > 25 GROUP BY lot_id;" }, { "instruction": "What is the total nummber of bad chips in lot J74124YQ?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J74124YQ';" }, { "instruction": "What is the total number of bad chips for Station_U on 2025-01-03?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-03';" }, { "instruction": "What is the total number of bad marks for Station_B on 2025-01-21?", "input": "", "output": "SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-21';" } ]