instruction
stringlengths 32
88
| input
stringclasses 1
value | output
stringlengths 57
175
|
---|---|---|
What is the total number of bad chips for Station_Y on 2025-01-24?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-24';
|
|
What is the total number of bad chips in lot J61390PR?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J61390PR';
|
|
What is the total number of bad chips for Station_W on 2025-01-23?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-23';
|
|
What is the total number of bad marks in lot S52406EV?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S52406EV';
|
|
What is the total numbec of bad marks for Station_L on 2025-01-19?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-19';
|
|
What is the total number of bad chips for Station_G on 2025-01-20?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-20';
|
|
What is the total nummber of bad marks in lot I19202YZ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I19202YZ';
|
|
What is the total number of bad marks for Station_J on 2025-01-24?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-24';
|
|
What is the total number of bad marks for Station_P on 2025-01-19?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-19';
|
|
What is the average defect rate for station MOKU-AVI?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;
|
|
What is the total number of bad chips for Station_D on 2025-01-11?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-11';
|
|
Which tray had the maximum number of good chips scanned this year?
|
SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());
|
|
What is the total number of bad marks for Station_Z on 2025-01-19?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-19';
|
|
What is the total number of bad marks in lot E65093JL?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E65093JL';
|
|
What is the total number of bad chips for Station_O on 2025-01-06?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-06';
|
|
What is the total number of bad chips in lot L43953EF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L43953EF';
|
|
What is the total number of bad chips for Station_I on 2025-01-14?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-14';
|
|
What is the tottal number of bad marks in lot W05701AM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W05701AM';
|
|
What is the total number of bad chips in lot D09656ZN?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D09656ZN';
|
|
What is the total nummber of bad marks in lot S04153MC?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S04153MC';
|
|
What is the total number of bad chips in lot V91732KT?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V91732KT';
|
|
What is the total number of bad marks in lot R42168YU?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R42168YU';
|
|
What is the total number of bad marks in lot B90287JO?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B90287JO';
|
|
What is the total number of bad chips in lot R05748OE?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R05748OE';
|
|
What is the total number of bad marks for Station_J on 2025-01-14?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-14';
|
|
What is the total number of bad chips for Station_D on 2025-01-08?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-08';
|
|
What is the total number of bad marks for Station_P on 2025-01-24?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-24';
|
|
What is the total number of bad chips in lot I64438KM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I64438KM';
|
|
What is the total number of bad marks in lot Q26819BS?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q26819BS';
|
|
What is the total number of bad marks in lot T02721LE?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T02721LE';
|
|
What is the total number of bad chips in lot J41534NU?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J41534NU';
|
|
What is the total number of bad marks in lot G67183QH?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G67183QH';
|
|
What is the averge defect rete for station MOKU-AVI?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;
|
|
What is the tottal number of bad marks in lot T41145SS?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T41145SS';
|
|
What is the total number of bad marks for Station_Z on 2025-01-04?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-04';
|
|
What is the total number of bad marks in lot I24075KM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I24075KM';
|
|
What is the total number of bad chips for Station_Y on 2025-01-06?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-06';
|
|
What is the total number of bad marks for Station_J on 2025-01-09?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-09';
|
|
What is the total number of bad chips in lot B40593UY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B40593UY';
|
|
What is the total number of bad marks in lot P17542WL?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P17542WL';
|
|
What is the total number of bad chips for Station_F on 2025-01-08?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-08';
|
|
What is the total number of bad marks in lot X83168XM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X83168XM';
|
|
What is the average defect rat for station JUNB-AVI?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;
|
|
What is the total number of bad marks in lot Y22203HN?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y22203HN';
|
|
What is the total nummber of bad marks in lot U98329JO?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U98329JO';
|
|
What is the total number of bad chips in lot L56778YL?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L56778YL';
|
|
What is the total number of bad marks in lot B25259OT?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B25259OT';
|
|
Which tray had the maximum number of good chips in the last 24 hours?
|
SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine WHERE date_time >= NOW() - INTERVAL 1 DAY;
|
|
What is the total number of bad marks in lot B43011BC?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B43011BC';
|
|
What is the total number of bad marks for Station_A on 2025-01-15?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-15';
|
|
What is the total number of bad chips for Station_O on 2025-01-07?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-07';
|
|
What is the total number of bad marks in lot V12503EY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V12503EY';
|
|
What is the total number of bad chips for Station_G on 2025-01-23?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-23';
|
|
What is the total number of bad chips for Station_S on 2025-01-19?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-19';
|
|
What is the total number of bad chips for Station_G on 2025-01-31?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-31';
|
|
What is the total number of bad marks in lot J89526OQ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J89526OQ';
|
|
What is the total number of bad marks in lot L53121EY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L53121EY';
|
|
What is the total number of bad chips for Station_D on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-05';
|
|
What is the total number of bad marks for Station_E on 2025-01-01?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-01';
|
|
Find the tray with the locest number of good chips in the year 20t5.
|
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;
|
|
What is the total number of bad marks for Station_I on 2025-01-12?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-12';
|
|
What is the total number of bad chips fox Station_I on 2025-01-08?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-08';
|
|
What is the total number of bad marks in lot S18423RF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S18423RF';
|
|
What is the total number of bad marks for Station_F on 2025-01-25?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-25';
|
|
What is the total number of bad chips for Station_Q on 2025-01-13?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-13';
|
|
What is the total number of bad marks in lot O16775FG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O16775FG';
|
|
What is the total number of bad chips in lot S24357UA?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S24357UA';
|
|
What is the total number of bad marks in lot V69494HW?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V69494HW';
|
|
What is the total number of bad chips for Station_W on 2025-01-13?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-13';
|
|
What is the total number of bap chips for Station_X on 2025-01-10?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-10';
|
|
What is the total number of bad chips in lot P26381MC?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P26381MC';
|
|
What is the total number of bad marks in lot S63980KB?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S63980KB';
|
|
What is the total number of bad chips for Station_M on 2025-01-06?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-06';
|
|
What is the total number of bad marks in lot S48964CJ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48964CJ';
|
|
What is the total number of bad marks for Station_W on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-05';
|
|
What is the total number of bad marks for Station_M on 2025-01-10?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-10';
|
|
What is the total number of bad marks in lod T06136YC?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T06136YC';
|
|
What is the total number of bad chips for Station_A on 2025-01-20?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-20';
|
|
What is the total number of bad chips in lot A08570UK?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A08570UK';
|
|
What is the total number of bad chips for Station_G on 2025-01-12?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-12';
|
|
What is the total number of bad chips in lot H94857RL?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H94857RL';
|
|
What is the total number of bad marks for Station_M on 2025-01-20?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-20';
|
|
What is the total number of bad chips for Station_O on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-05';
|
|
What is the total number of bad chips in lot F25571XA?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F25571XA';
|
|
What is the total number of bad chips in lot F30412HA?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F30412HA';
|
|
What is the tgtal number of bad chips for Station_N on 2025-01-02?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-02';
|
|
What is the total number of bad marks in lot T49991ND?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T49991ND';
|
|
What is the total number of bad marks in lot N32548CY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N32548CY';
|
|
What is the total number of bad marks for Station_R on 2025-01-19?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-19';
|
|
What is the total number of bad marks in lot Z95051MK?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z95051MK';
|
|
What is the total number of bad marks in lot N98714NF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N98714NF';
|
|
Find the tray with the highest percentage of good chips scanned last week.
|
SELECT lot_id, MAX((72 - def_qty) / 72 * 100) AS max_good_percentage FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);
|
|
What is the totav numder of bad harks in lot S87896QS?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S87896QS';
|
|
What is the total number of bad chips for Station_R on 2025-01-03?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-03';
|
|
What is the total number of bad chips in lot H86905DV?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H86905DV';
|
|
What is the tottal number of bad marks in lot O66590WD?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O66590WD';
|
|
What is the total number of bad marks in lot U10265GL?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U10265GL';
|
|
What is the total number of bad marks in lot R02564PS?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R02564PS';
|
|
What is the total number of bad chips for Station_I on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-05';
|
|
What is the total nhmber of bad marks for Station_Y on 2025-01-28?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-28';
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.