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_I on 2025-01-16?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-16';
141
What is the total number of bad marks in lot W18591TH?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W18591TH';
152
Find the average number of good chips scanned last week.
45
SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE WEEK(date_time) = WEEK(CURDATE() - INTERVAL 1 WEEK);
135
Find the average defect rate for lots scanned at Station_R in January.
49
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_R' AND MONTH(date_time) = 1;
137
What is the total number of bad chips for Station_H on 2025-01-12?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-12';
154
What is the total number of bad marks for Station_R on 2025-01-12?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-12';
146
What was the total number of good chips scanned across all trays this year?
40
SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());
150
What is the total number of bad marks in lot K93361IA?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K93361IA';
141
What is the total number of bad chips in lot R91344OW?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R91344OW';
158
What is the total number of bad marks for Station_Y on 2025-01-13?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-13';
134
What is the total number of bad marks in lot J54940LB?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J54940LB';
151
What is the total number of bad marks for Station_Z on 2025-01-25?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-25';
160
What is the total number of bad marks for Station_M on 2025-01-09?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-09';
137
What is the total number of bad marks for Station_W on 2025-01-06?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-06';
147
What is the total number of bad chips in lot E13522NR?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E13522NR';
145
What is the total number of bad marks foz Station_D on 2025-01-22?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-22';
139
List all lots with defect rate higher than 20% for Station_K.
40
SELECT lot_id FROM machine WHERE proc_id = 'Station_K' AND def_rate > 20;
151
What is the total number of bad chops for Station_O on 2025-01-11?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-11';
131
What is the total number of bad chips for Station_Z on 2025-01-12?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-12';
138
What is the total number of bad chips in lot X12681PF?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X12681PF';
151
What is the average defect rate for station BS?
33
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;
142
What is the total number of bad chips in lot L64737BD?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L64737BD';
157
What is the tottal number of bad chips in lot W35975WS?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W35975WS';
141
What is the total number of bad chips in lot Z81082TA?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z81082TA';
157
What is the total number of bad chips for Station_M on 2025-01-19?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-19';
144
What is the total number of bad chips for Station_Y on 2025-01-26?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-26';
143
What is the total number of bad chips in lot J35581SF?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J35581SF';
154
What is the total number of bad chips in lot I71348OM?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I71348OM';
156
What is the total nummber of bad chips in lot S48582XA?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48582XA';
155
What is the total number of bad chips in lot H39180YH?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H39180YH';
153
What is the total number of bad marks in lot C10539CD?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C10539CD';
151
What is tte total number of nad marks for Station_X on 2025-01-07?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-07';
158
What is the total nummber of bad marks in lot D82946YU?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D82946YU';
149
What is the total number of bad marks in lot N66804ZX?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N66804ZX';
147
What is the total number of bad chips in lot J08463FN?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J08463FN';
158
What is the total number of bad chips for Station_U on 2025-01-05?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-05';
152
What is the averge defect rat for station JUNB-AVI?
45
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI;
146
What is the total number of bad chips in lot B78092ND?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B78092ND';
146
What is the total number of bad chips in lot R39071JR?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R39071JR';
159
What is the total number of bad marks for Station_N on 2025-01-25?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-25';
153
What is the total number of bad chips in lot O44198KA?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O44198KA';
145
How many chips were counted last month, and how many of them were bad?
55
SELECT COUNT(*) AS total_chips, SUM(def_qty) AS total_bad_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);
130
What is the tottal number of bad chips in lot P73461JW?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P73461JW';
143
What is the total number of bad chips for Station_S on 2025-01-07?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-07';
149
What is the tottal number of bad chips in lot C71282XP?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C71282XP';
149
What is the total number of bad chips for Station_R on 2025-01-06?
52
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-06';
131
Find the average percentage of good chips per tray scanned this year.
50
SELECT AVG((72 - def_qty) / 72 * 100) AS avg_good_percentage FROM machine WHERE YEAR(date_time) = YEAR(CURDATE());
135
What is the tottal number of bad chips in lot Y27233EX?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y27233EX';
154
What is the total number of bad marks for Station_S on 2025-01-06?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-06';
135
What is the total number of bad marks in lot V19666CD?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V19666CD';
158
What is the total number of bad marks in lot H79662NB?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H79662NB';
141
What is the total number of bad chips for Station_M on 2025-01-31?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-31';
155
What is the total number of bad marks in lot B95339PL?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B95339PL';
145
What is the total number of bad chips for Station_Q on 2025-01-21?
57
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-21';
152
What is the total number of bad chips in lot L00375XG?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L00375XG';
153
Find the average defect rate for the last quarter.
55
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE QUARTER(date_time) = QUARTER(CURDATE() - INTERVAL 3 MONTH);
140
What is the total number of bad chips in lot M15513JM?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M15513JM';
148
What is the total number of bad marks in lot A31554OE?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A31554OE';
144
Which tray had the highest number of good chips last week?
50
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;
140
What is the total number of bad marks in lot K59458PA?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K59458PA';
149
What is the total number of bad marks for Station_R on 2025-01-11?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-11';
143
What is the total number of bad marks in lot A41393XR?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A41393XR';
148
Which tray had the highest number of working chips yesterday?
45
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;
145
What is the total number of bad marks in lot Q05144DP?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q05144DP';
143
What is the total number of bad chips for Station_D on 2025-01-18?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-18';
156
What is the averate defect rat for station CBUj?
37
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = CBUN;
146
What is the total number of bad chips in lot Y15497EI?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y15497EI';
154
Retrieve the top 3 lots with the highest defects from Station_P.
58
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;
147
What is the total nummber of bad marks in lot A30252HF?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A30252HF';
157
What is the total number of bad chijs in lot S99347OG?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S99347OG';
154
Which tray scanned last month had the most good chips?
50
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;
140
What is the total number of bad marks for Station_R on 2025-01-24?
57
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-24';
140
What is the total number of bad chips for Station_X on 2025-01-09?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-09';
146
What is the total number of bad marks in lot S48582XA?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S48582XA';
150
What is the total number of bad marks for Station_U on 2025-01-17?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-17';
149
Find the average defect rate for lots scanned at Station_L in January.
53
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_L' AND MONTH(date_time) = 1;
143
What is the total number of bad chips in lot V29611KZ?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V29611KZ';
144
What is the average numbev of working chips per tray this weekr
45
SELECT AVG(good_qty) AS avg_working_chips FROM machine WHERE WEEK(date_time) = WEEK(CURDATE());
140
What is the total number of bad marks for Station_Z on 2025-01-24?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-24';
139
What is the total number of bad marks for Station_U on 2025-01-11?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-11';
146
What is the total number of bad chips for Station_F on 2025-01-23?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-23';
154
What is the total number of bad marks in lot M55179UM?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M55179UM';
156
What is the total number of bad marks in lot R25316BY?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R25316BY';
141
What is the total number of bad chips in lot L80667WU?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L80667WU';
140
What is the total number of bad marks for Station_S on 2025-01-20?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-20';
154
List all lots with defect rate higher than 20% for Station_M.
54
SELECT lot_id FROM machine WHERE proc_id = 'Station_M' AND def_rate > 20;
148
What is the total number of bad chips in lot X26114VQ?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X26114VQ';
153
What is the tottal number of bad chips in lot G26893FT?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G26893FT';
148
What is the total number of bad marks for Station_G on 2025-01-04?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-04';
158
What is the total number of bad chips in lot E66817LL?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E66817LL';
152
What is the total number of bad chips in lot I85217EY?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I85217EY';
142
What is the total number of bad chips in lot F91634GL?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F91634GL';
152
What is the total number of bad chips for Station_N on 2025-01-26?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-26';
159
What is the total number of bad chips in lot P15126YV?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P15126YV';
142
What is thb total number of bad marks in lot B82968CK?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B82968CK';
151
What is the total number of bad chips for Station_A on 2025-01-12?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-12';
159
What is the total number of bad chips for Station_C on 2025-01-30?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_C' AND DATE(date_time) = '2025-01-30';
133
What is the total number of bad marks for Station_S on 2025-01-03?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-03';
136
Whht is the total number of bav marks for Station_V on 2025-01-16?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-16';
154
What is the total number of bad marks in lot V82252TA?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V82252TA';
141