input_sentence
stringlengths
32
88
latency_ref
int64
30
60
output_sentence
stringlengths
57
175
throughput_ref
int64
130
160
What is the total number of bad marks for Station_A on 2025-01-14?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-14';
155
What is the total number of bad marks for Station_D on 2025-01-28?
51
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-28';
155
What is the tottal number of bad marks in lot C17305PA?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C17305PA';
143
Wcat is the tottal nummber of bad marks in lot K27483PS?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K27483PS';
141
What is the total number of bad marks in lot Z43954VG?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z43954VG';
142
What is the total number of bad marks in lot D34407VG?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D34407VG';
150
What is the total number of bad chips for Station_H on 2025-01-01?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-01';
147
What is the total number of bad marks in lot C71282XP?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C71282XP';
142
What is the total number of bad chips in lot U39978TF?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U39978TF';
150
What is the total number of bad chips for Station_O on 2025-01-22?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-22';
143
What is the total number of bad marks for Station_X on 2025-01-21?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-21';
150
What is the total number of bad marks in lot K68417GV?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K68417GV';
141
What is the total number of bad marks in lot T20880UP?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T20880UP';
143
What is the total number of bad chips for Station_H on 2025-01-27?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-27';
141
How many trays were scanned in the last 7 days with only good chips?
40
SELECT COUNT(*) AS trays_with_good_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE()) AND def_qty = 0;
150
What is the total number of bad chips for Station_Y on 2025-01-30?
57
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-30';
133
What is the total number of bad chips in lot P34386XC?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P34386XC';
146
Find the tray with the lowest number of good chips last month.
50
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;
135
What is the total number of bad chips for Station_X on 2025-01-01?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-01';
158
What is the total number of bad marks in lot O66590WD?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O66590WD';
147
What is the total number of bad chips in lot G82171NB?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G82171NB';
149
What is the total number of bad chips in lot U85934CN?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U85934CN';
146
What is the total number of bad chips in lot P30666GG?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P30666GG';
142
What is the averge defect rate for station MOKU-AVI?
31
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = MOKU-AVI;
154
What is the tottal number of bad chips in lot A87809BI?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A87809BI';
151
What is the total number of bad marks for Station_X on 2025-01-18?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-18';
151
What is the total number of bad marks in lot N44655DN?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N44655DN';
141
What is the total nummber of bad chips in lot Q71691TD?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q71691TD';
159
What is the total number of bad marks in lot F86386YB?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F86386YB';
154
List all lots with defect rate higher than 20% for Station_A.
50
SELECT lot_id FROM machine WHERE proc_id = 'Station_A' AND def_rate > 20;
136
What is the total number of bad chips in lot R68568UU?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R68568UU';
143
What is the total number of bad marks in lot D96081OE?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D96081OE';
155
What is the total number of bad chips for Station_P on 2025-01-21?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-21';
130
What is the total number of bad chips for Station_O on 2025-01-31?
59
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-31';
143
What is the total number of bad chips for Station_A on 2025-01-06?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-06';
159
What is the total number of bad chips for Station_A on 2025-01-29?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-29';
156
What is the total number of bad marks for Station_T on 2025-01-29?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-29';
131
Find the average defect rate for lots scanned at Station_W in January.
47
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_W' AND MONTH(date_time) = 1;
158
What is the total number of bad chips for Station_Q on 2025-01-07?
51
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-07';
137
ehat is thz total number of bxd chips in lot A74596VF?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A74596VF';
144
What is the averge defect rat for station BS?
42
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;
153
What is the total number of bad marks in lot Q57846NW?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q57846NW';
143
What is the total number of bad marks for Station_N on 2025-01-21?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-21';
158
List all lots with defect rate higher than 20% for Station_R.
51
SELECT lot_id FROM machine WHERE proc_id = 'Station_R' AND def_rate > 20;
140
What is the tottal number of bad marks in lot T20880UP?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T20880UP';
147
What is the total number of bad marks in lot P41460VN?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P41460VN';
157
What tray had the maximum bad marks in the year 2025?
50
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;
135
What is the total number of bad chips for Station_A on 2025-01-26?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-26';
157
What is the total number of bad chips for Station_N on 2025-01-31?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-31';
146
What is the tottal number of bad marks in lot I24468EA?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I24468EA';
155
What is the tottal number of bad chips in lot W95345KB?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W95345KB';
145
What is the total number of bad marks for Station_F on 2025-01-02?
52
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-02';
147
What is the total number of bad marks for Station_W on 2025-01-29?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-29';
133
What is the tottal number of bad chips in lot J22355WH?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J22355WH';
149
What is the average defect rate for station JUNB-AVI?
45
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;
145
What is the total number of bad marks in lot N78551HQ?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N78551HQ';
152
Retrieve the top 3 lots with the highest defects from Station_Z.
51
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;
157
What is the total number of bad marks in lot H41681AA?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H41681AA';
156
What is the total number of bad marks in lot Q59610AF?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q59610AF';
153
What is the total number of bad chips in lot A84416FE?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A84416FE';
157
List all lots with defect rate higher than 20% for Station_O.
53
SELECT lot_id FROM machine WHERE proc_id = 'Station_O' AND def_rate > 20;
136
What is the total number of bad marks for Station_N on 2025-01-23?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-23';
130
What is thg total number of bad marks in lot V20151XB?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V20151XB';
159
What is the total number of bad chips for Station_V on 2025-01-01?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-01';
136
What is the total number of bad chips in lot U71295OX?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U71295OX';
141
What is the total number of bad chips for Station_O on 2025-01-30?
57
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-30';
158
Retrieve the top 3 lots with the highest defects from Station_J.
50
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;
142
What is the total number of bad chips in lot R31596FJ?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R31596FJ';
154
What is the total number of bad marks in lot E37878HQ?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E37878HQ';
156
Retrieve the top 3 lots with the highest defects from Station_F.
46
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;
131
What is the total number of bad chips in lot M26342TJ?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M26342TJ';
157
What is the total number of bad chips in lot J67380RL?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J67380RL';
155
List all lots with defect rate higher than 20% for Station_N.
56
SELECT lot_id FROM machine WHERE proc_id = 'Station_N' AND def_rate > 20;
141
What is the total number of bad chips in lot D56235KP?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D56235KP';
144
What is the total number of bad marks for Station_K on 2025-01-28?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-28';
147
Woat is the total number of bad marks for Statnon_D on 2025-01-19?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-19';
140
What is the total number of bad marks in lot K54628ZA?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K54628ZA';
146
What is the total number of bad marks for Station_X on 2025-01-08?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-08';
131
What is the total number of bad marks for Station_Y on 2025-01-18?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-18';
154
What is the total number of bad chips for Station_B on 2025-01-09?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-09';
150
What is the tottal number of bad chips in lot L03127DY?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L03127DY';
156
What is the total number of bad chips in lot T82927QY?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T82927QY';
154
What is the total number of bad chcps in lot T03070ZK?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T03070ZK';
160
What is the total nummber of bad marks in lot R50096FK?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R50096FK';
151
What is the total number of bad chips for Station_T on 2025-01-23?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-23';
153
What is the total number of bad chips in lot C72092TY?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C72092TY';
158
What is the total number of bad chips in lot Q88827TB?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q88827TB';
158
What is the total number of bad marks for Station_K on 2025-01-23?
51
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-23';
147
What is the total number of bad marks in lot F67692EZ?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F67692EZ';
157
What is the total number of bad chips in lot M38528RR?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M38528RR';
159
What is the total number of bad chips in lot F46328UQ?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F46328UQ';
151
Retrieve the top 3 lots with the highest defects from Station_S.
57
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;
141
What is the totav number of bad marks for Station_O on 2025-01-20?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-20';
133
What is the total number of bad clips for Station_Y on 2025-01-20?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-20';
136
Find the average defect rate for lots scanned at Station_T in January.
49
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_T' AND MONTH(date_time) = 1;
160
What is the total number of bad marks for Station_V on 2025-01-10?
54
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-10';
132
What is the tottal number of bad chips in lot N18612BZ?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N18612BZ';
158
What is the total number of bad marks for Station_V on 2025-01-26?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-26';
132
What is the total number of bad chips in lot A30252HF?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A30252HF';
149
What is the total nummber of defects recorded on 2025-01-08?
43
SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08';
145