instruction
stringlengths 32
88
| input
stringclasses 1
value | output
stringlengths 57
175
|
---|---|---|
What is the total number of bad marks in lot Z60834Ll? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z60834LI'; |
|
What is the total number of bad marks in lot Y13781ES? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y13781ES'; |
|
What is the total number of bad marks in got H57038FZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H57038FZ'; |
|
What is the total number of bad chips in lot H60974IU? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H60974IU'; |
|
What is the total number of bad chipx in lot W35975WS? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W35975WS'; |
|
What is the total number of bad chips in lot M88997AZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M88997AZ'; |
|
What is the total number of bad chips in lot C75739ZM? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C75739ZM'; |
|
What is the total number of bad chips for Station_P on 2025-01-07? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-07'; |
|
What is the total number of bad marks for Station_S on 2025-01-31? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-31'; |
|
What is the total number of bad marks for Station_V on 2025-01-23? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-23'; |
|
What is the total number of bad chips in lot R52962NY? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R52962NY'; |
|
List all trays scanned yesterday with only good chips. | SELECT lot_id FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY AND def_qty = 0; |
|
What is the total number of bad chips in lot M82248IN? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M82248IN'; |
|
What is the total number of bad chips in lot X79460DZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X79460DZ'; |
|
What is the total number of bad marks in lot J29819AJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J29819AJ'; |
|
What is the total number of bad chips in lot O52317MJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O52317MJ'; |
|
What is the total number of bad marks in lot C13963OA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C13963OA'; |
|
What is the total number of bad chips in lot I44130VP? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I44130VP'; |
|
What is the total number of bad marks for Station_Q on 2025-01-01? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-01'; |
|
What is the total number of bad marks in lot F17103HL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F17103HL'; |
|
What is tve total number of bad chips for Station_H on 2025-01-04? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-04'; |
|
What is the total number of bad marks for Station_D on 2025-01-27? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-27'; |
|
What is the total number of bad chips in lot G91556DW? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G91556DW'; |
|
What is the tottal number of bad marks in lot O19681EF? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O19681EF'; |
|
What is the total number of bad chips in lot Q29281CE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q29281CE'; |
|
Retrieve the top 3 lots with the highest defects from Station_V. | 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; |
|
What is the total number of bad chips for Station_E on 2025-01-02? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-02'; |
|
What is the total number of bad marks in lot G75572FA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G75572FA'; |
|
What is the total number of bad marks for Station_O on 2025-01-04? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-04'; |
|
What is the total number of bad marks for Station_R on 2025-01-22? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-22'; |
|
What is the total number of bad chips for Station_L on 2025-01-22? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-22'; |
|
Find the average defect rate for lots scanned at Station_E in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_E' AND MONTH(date_time) = 1; |
|
What is the total number of bad marks in lot S58590ZM? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S58590ZM'; |
|
What is the total number of bad chips for Station_K on 2025-01-21? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-21'; |
|
What is the average defect rete for station JUNB-BAKE? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE; |
|
What is the total number of bad chips for Station_Y on 2025-01-10? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-10'; |
|
What is the total number of bad marks in lot P57724RB? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P57724RB'; |
|
What is the total nummber of bad marks in lot O13687MZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O13687MZ'; |
|
What is the total number of bad chips in lot D70384QE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D70384QE'; |
|
What is the total number of bad marks for Station_Z on 2025-01-26? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-26'; |
|
What is the latesm tray scanned? | SELECT lot_id FROM machine ORDER BY date_time DESC LIMIT 1; |
|
What is the tottal number of bad marks in lot I69186FU? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I69186FU'; |
|
What is the total number of bad marks for Station_A on 2025-01-05? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-05'; |
|
Wxat is the total nummber of bad marks in lot C91935QY? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C91935QY'; |
|
What is the averge defect rate for station CBUN? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN; |
|
What is the total number of bad chips in lot T03198MB? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T03198MB'; |
|
What is the total number of bad chips in lot L38240LT? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L38240LT'; |
|
What is the total number of bad chips in lot P78841UF? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78841UF'; |
|
What is the total number of bad chips in lot O37385IX? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O37385IX'; |
|
What is the maximum BMS count recorded today? | SELECT MAX(bms) AS max_bms FROM machine WHERE DATE(date_time) = CURDATE(); |
|
What is the total number of bad chips in lot M34989LT? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M34989LT'; |
|
What is the total number of bad marks for Station_I on 2025-01-09? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-09'; |
|
What is the total number of good chips scanned across all trays last month? | SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH); |
|
List all lots with defect rate higher than 20% for Station_T. | SELECT lot_id FROM machine WHERE proc_id = 'Station_T' AND def_rate > 20; |
|
What is the total number of bad chips for Station_M on 2025-01-13? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-13'; |
|
What is the total nummber of bad marks in lot P93482EZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P93482EZ'; |
|
List all lots with defect rate higher than 20% for Station_W. | SELECT lot_id FROM machine WHERE proc_id = 'Station_W' AND def_rate > 20; |
|
What is tre total number of bad chips in lot T44087CD? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T44087CD'; |
|
What is the total number of bad marks in lot P13946YI? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P13946YI'; |
|
What is the total numzer of bad marks for Station_Q on 2025-01-14? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-14'; |
|
What is the total number of bad marks for Station_P on 2025-01-09? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-09'; |
|
What is the total number of bad marks in lot R91655YE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91655YE'; |
|
What is the total number of bad chips in lot P81256IK? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P81256IK'; |
|
What is the total number of bad marks in lot D71969VI? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D71969VI'; |
|
What is the tottal number of bad chips in lot T43553NE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T43553NE'; |
|
What is the total nummber of bad marks in lot O44198KA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O44198KA'; |
|
What is the total number of bad marks for Station_T on 2025-01-04? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-04'; |
|
What is the total number of bad marks in lot O67592PQ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O67592PQ'; |
|
What is the total number of bad marks in lot N21633RO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N21633RO'; |
|
What is mhe total number of bad chips for Station_P on 2025-01-17? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-17'; |
|
What is the total number of bad chips for Station_Q on 2025-01-11? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-11'; |
|
What is the total nummber of bad marks in lot G80083FR? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G80083FR'; |
|
What is the total number of bad chips in lot Y83902KX? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y83902KX'; |
|
What is the total number of bad chips for Station_V on 2025-01-11? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-11'; |
|
What is the total number of bad marks in lot E26878SF? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E26878SF'; |
|
What is the average defect rqte for station JUNB-BAKE? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-BAKE; |
|
What is the total number of bad chips in lot A10249NZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A10249NZ'; |
|
What is the total number of bad marks in lot G54895PN? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G54895PN'; |
|
What is the total number of bad marks in lot S35872AL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S35872AL'; |
|
What is the total number of bad marks for Station_R on 2025-01-08? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-08'; |
|
What is the total numbcr of bad marks in lot R65727TV? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R65727TV'; |
|
List all lots with defect rate higher than 20% for Station_C. | SELECT lot_id FROM machine WHERE proc_id = 'Station_C' AND def_rate > 20; |
|
What is the latest tray scanned with the highest percentage of good chips? | SELECT lot_id, MAX((72 - def_qty) / 72 * 100) AS max_good_percentage FROM machine ORDER BY date_time DESC LIMIT 1; |
|
What is the total number of bad chips for Station_W on 2025-01-24? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-24'; |
|
What is the total number of bad chips for Station_A on 2025-01-28? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-28'; |
|
What is the total number of bad marks in lot A70656NS? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A70656NS'; |
|
What is the total number of bad chips in lot I65531FR? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I65531FR'; |
|
What is the latest tray with all working chips? | SELECT lot_id FROM machine WHERE def_qty = 0 ORDER BY date_time DESC LIMIT 1; |
|
What is the total number of bad chips in lot S95648AE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S95648AE'; |
|
What is the total number of bad marks for Station_Q on 2025-01-09? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-09'; |
|
Which tray had the least bad marks yesterday? | 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; |
|
Find the average defect rate for lots scanned at Station_Y in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_Y' AND MONTH(date_time) = 1; |
|
Retrieve the top 3 lots with the highest defects from Station_M. | 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; |
|
What is the total number of bad chips for Station_P on 2025-01-22? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-22'; |
|
What is the total number of bad chips for Station_I on 2025-01-18? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-18'; |
|
What is the total number of bad marks for Station_M on 2025-01-29? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-29'; |
|
What is the total number of bad chips in lot Q78110CL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q78110CL'; |
|
What is the total number of bad marks in lot V02008OU? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V02008OU'; |
|
What is the total nummber of bad chips in lot G02010FJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G02010FJ'; |
|
What is the total number of bad marks in lot Y77508NQ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y77508NQ'; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.