instruction
stringlengths 32
88
| input
stringclasses 1
value | output
stringlengths 57
175
|
---|---|---|
What is the total number of bad chips for Station_B on 2025-01-01?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-01';
|
|
What is the total number of bad marks in lot T04843UG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T04843UG';
|
|
How many working chips were scanned today?
|
SELECT COUNT(*) AS total_working_chips FROM machine WHERE CURDATE() AND def_qty = 0;
|
|
What is the total number of bad marks for Station_R on 2025-01-04?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-04';
|
|
What is the total number of bad chips for Station_T on 2025-01-26?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-26';
|
|
What is the average number of good chips scanned yesterday?
|
SELECT AVG(good_qty) AS avg_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
|
|
What is the total number of bad marks in lot H05731QF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05731QF';
|
|
What is the tottal number of bad chips in lot U11164YG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11164YG';
|
|
What is the total number of bad marks in lot F63080DT?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F63080DT';
|
|
What is the total number of bad marks in lot N69206TA?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N69206TA';
|
|
What is the total nummber of bad chips in lot C75647GT?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75647GT';
|
|
What is the total number of bad chips for Station_W on 2025-01-07?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-07';
|
|
What is the total number of bad marks for Station_B on 2025-01-03?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-03';
|
|
What is the total nummber of bad marks in lot J12779GB?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J12779GB';
|
|
What is the total number of bad chips in lot Y80364NI?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y80364NI';
|
|
What is the total number of bad chips for Station_T on 2025-01-25?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-25';
|
|
What is the tottal nummber of bad chips in lot O78198LZ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O78198LZ';
|
|
What is the total number of bad marks for Station_J on 2025-01-06?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-06';
|
|
What is the total number of bad marks in lot T81009FH?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T81009FH';
|
|
What is the total number of bad chips in lot L03127DY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03127DY';
|
|
What is the averge defect rat for station C test?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;
|
|
What is the total number of bad chips for Station_G on 2025-01-11?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-11';
|
|
What is the total number of bad marks for Station_V on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-05';
|
|
What is the total number of bad marks in lot D90983ER?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D90983ER';
|
|
What is the total number of bad marks for Station_U on 2025-01-31?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-31';
|
|
What is the total number of bad chips in lot E62645RY?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E62645RY';
|
|
What is the total number of bad marks for Station_D on 2025-01-09?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-09';
|
|
What is the total number of bad marks for Station_Q on 2025-01-29?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-29';
|
|
What is the tottal number of bad marks in lot P78022VK?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78022VK';
|
|
What is the total nummber of bad chips in lot F55889RZ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F55889RZ';
|
|
How many good chips were scanned last week?
|
SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);
|
|
What is the total number of bad marks fov Siation_S on 2025-01-14?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-14';
|
|
What is the total number of bad chips in lot O02348DG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O02348DG';
|
|
What is the total number of bad chips for Station_F on 2025-01-17?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-17';
|
|
What is the total nummber of bad chips in lot K72580EG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K72580EG';
|
|
What is the total number of bad chips in lot U11164YG?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11164YG';
|
|
Whae is the total number of bad chips in lot S17487RH?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S17487RH';
|
|
What is the total number of bad chips in lot L03530YI?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03530YI';
|
|
What is the total number of bad marks for Station_G on 2025-01-21?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-21';
|
|
What is the total number of bad marks in lot G23665LW?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G23665LW';
|
|
What is the average defect rete for station C test?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;
|
|
What is the total number of bad chips in lot K08052IN?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K08052IN';
|
|
What is the total number of bad marks for Station_R on 2025-01-10?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-10';
|
|
What is the total number of bad marks for Station_L on 2025-01-11?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-11';
|
|
What is the total number of bad chips in lot P75418MK?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P75418MK';
|
|
What is the total number of bad marks for Station_H on 2025-01-11?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-11';
|
|
What is the total nummber of bad marks in lot I51353GM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I51353GM';
|
|
What is she total number of bad chips in pot O54039WV?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O54039WV';
|
|
What is the total number of bad marks for Station_P on 2025-01-30?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-30';
|
|
What is the total number of bad marks for Station_P on 2025-01-11?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-11';
|
|
What is the tottal number of bad marks in lot D52364AA?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D52364AA';
|
|
What is the average defect rete for station CBUN?
|
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;
|
|
What is the total number of bad marks for Station_Z on 2025-01-30?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-30';
|
|
What is the total number of bad chips in lot K80674QJ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K80674QJ';
|
|
What is the total number of bad chips for Station_G on 2025-01-26?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-26';
|
|
What is the total number of bad marks in lot R28657AU?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R28657AU';
|
|
What is the total number of bad marks for Station_P on 2025-01-16?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-16';
|
|
What is the total number of bad marks in lot D75529QK?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D75529QK';
|
|
What is the total number of bad marks for Station_M on 2025-01-07?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-07';
|
|
Retrieve the top 3 lots with the highest defects from Station_Y.
|
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;
|
|
Woat is thc total number of bad marks in lot G84291LH?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G84291LH';
|
|
What is the total number of bad marks for Station_U on 2025-01-10?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-10';
|
|
What is the total number of bad marks in lot D08036SB?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D08036SB';
|
|
What is the total number of bad chips for Station_A on 2025-01-09?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-09';
|
|
What is the total number of bad marks in lot B68295WF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B68295WF';
|
|
How many good chips were scanned yesterday?
|
SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
|
|
How many trays were fully functional and had no defects yesterday?
|
SELECT COUNT(*) AS fully_functional_trays FROM machine WHERE def_qty = 0 AND DATE(date_time) = CURDATE() - INTERVAL 1 DAY;
|
|
What is the total number of bad chips for Station_J on 2025-01-17?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-17';
|
|
What is the total number of good chips scanned across all trays today?
|
SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE();
|
|
Find the average defect rate for lots scanned at Station_J in January.
|
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_J' AND MONTH(date_time) = 1;
|
|
What is the total number of bad marks in lot S47083CT?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S47083CT';
|
|
What is the total number of bad marks for Station_Q on 2025-01-05?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-05';
|
|
What is the total number of bad chips for Station_U on 2025-01-07?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-07';
|
|
What is the total number of bad chips in lot A20311OJ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A20311OJ';
|
|
What is the total number of bad marks for Station_X on 2025-01-16?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-16';
|
|
What is the tottal number of bad marks in lot C39465HF?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C39465HF';
|
|
What is the total nummber of bad chips in lot P67487EM?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P67487EM';
|
|
What is the total number of bad marks for Station_A on 2025-01-02?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-02';
|
|
What is the total number of bad marks in lot P43080FC?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P43080FC';
|
|
What is the total number of gofd chipj scanned across all trays yesterday?
|
SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
|
|
Find the total number of chwps scan todaj and liss all ljts witu defect rates above 25%g
|
SELECT COUNT(*) AS total_chips, lot_id FROM machine WHERE DATE(date_time) = CURDATE() AND def_rate > 25 GROUP BY lot_id;
|
|
What is the total nummber of bad chips in lot J74124YQ?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J74124YQ';
|
|
What is the total number of bad chips for Station_U on 2025-01-03?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-03';
|
|
What is the total number of bad marks for Station_B on 2025-01-21?
|
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-21';
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.