input_sentence
stringlengths
32
88
latency_ref
int64
30
60
output_sentence
stringlengths
57
175
throughput_ref
int64
130
160
How many trays were counted last month?
42
SELECT COUNT(*) AS total_trays FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);
145
What is the total number of bad chips in lot E67477II?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E67477II';
148
What is the total number of bad chips in lot L67020AH?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L67020AH';
145
What is the total number of bad marks for Station_W on 2025-01-11?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-11';
138
What is the total number of bad chips in lot R32729TR?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R32729TR';
141
How many non-defective chips did we count in the year 2025?
40
SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE YEAR(date_time) = 2025;
150
What is the total number of bad chips for Station_B on 2025-01-20?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-20';
148
What is the total number of bad marks for Station_V on 2025-01-08?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-08';
136
What is the total number of nad chips for Station_N on 2025-01-29?
54
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_N' AND DATE(date_time) = '2025-01-29';
151
What is the total number of bad marks in lot Z56721YD?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z56721YD';
143
What is the tottal number of bad chips in lot J47430XM?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J47430XM';
160
Retrieve the top 3 lots with the highest defects from Station_I.
48
SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_I' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;
142
What is the latest tray with the highest number of good chips?
40
SELECT lot_id, MAX(72 - def_qty) AS max_good_qty FROM machine ORDER BY date_time DESC LIMIT 1;
150
What is the total number of bad chips in lot J20516PK?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J20516PK';
157
What is the total number of sad chips in lot T23830UD?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T23830UD';
155
What is the total nummber of bad marks in lot V09380Oy?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V09380OQ';
151
Find the average defect rate for lots scanned at Station_G in January.
56
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_G' AND MONTH(date_time) = 1;
149
What is the total number of bad chips for Station_R on 2025-01-09?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-09';
151
What is the total number of bad chips for Station_F on 2025-01-09?
58
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-09';
154
What is the tottal number of bad marks in lot G78342VN?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G78342VN';
153
What is the total number of bad marks in lot V62950QS?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V62950QS';
155
What is the total number of bad chips in lot M97950AQ?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M97950AQ';
150
What is the total number of bad marks for Station_Q on 2025-01-24?
59
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-24';
159
What is the total number of bad marks in lot K72580EG?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K72580EG';
159
What is the total number of bad marks in lot J60671WH?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J60671WH';
160
What is the total number of bad chips in lot V60020LD?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V60020LD';
151
What is the total number of bad chips in lot N63583QH?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N63583QH';
157
What is the total number of bad marks in lot R92159RZ?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R92159RZ';
156
What is the total number of bad marks in lot F57446RD?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F57446RD';
145
What is the total number of bad marks in lot P91590GB?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P91590GB';
143
What is tme total nummber of bad marks in lot T49991ND?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T49991ND';
149
What is the total number of bad marks in vot W481l0CX?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W48170CX';
152
Find the average defect rate for lots scanned at Station_S in January.
54
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_S' AND MONTH(date_time) = 1;
131
What is tpe total numbeg of bad mazks in lot K07251ID?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K07251ID';
141
What is the total number of bad chips in lot V34542CW?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V34542CW';
147
What is the total number of bad chips in lot T04294LM?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T04294LM';
144
How many non-defective chips did we count yesterday?
40
SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
150
What is the total number of bad chips in lot R79548XV?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R79548XV';
141
What is the total number of bad chips in lot N82777GG?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N82777GG';
145
How many working chips were scanned in the year 2025?
42
SELECT COUNT(*) AS total_working_chips FROM machine WHERE YEAR(date_time) = 2025 AND def_qty = 0;
145
What is the total number of bad marks in lot P78719AD?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78719AD';
148
List all lots with defect rate higher than 20% for Station_X.
50
SELECT lot_id FROM machine WHERE proc_id = 'Station_X' AND def_rate > 20;
152
What is the total number of bad chips for Sration_Q on 2025-01-15?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-15';
132
What is the total number of bad chips in lot A49503MF?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A49503MF';
149
What is the total number of bad marks for Station_Y on 2025-01-23?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-23';
147
What is the total number of bad chips in lot T81014IA?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T81014IA';
158
What is thx total number of bzd chios in lot B00054WJ?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B00054WJ';
152
What is the total number of bad marks in lot Z83209XO?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z83209XO';
143
What is the total number of bad chips for Station_J on 2025-01-11?
54
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-11';
132
What is the total number of bad marks in lot T09872XH?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T09872XH';
157
Find the average defect rate for lots scanned at Station_Z in January.
54
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_Z' AND MONTH(date_time) = 1;
160
What is the total number of bad chips in lot O58304BV?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O58304BV';
156
What is the total nummber of bad chips in lot X79552DD?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X79552DD';
142
What is the total number of bad marks in lot M32835WL?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M32835WL';
156
Which tray had the least bad marks in the year 2025?
45
SELECT lot_id, MIN(bms + cdb + maker) AS least_bad_marks FROM machine WHERE YEAR(date_time) = 2025 GROUP BY lot_id ORDER BY least_bad_marks LIMIT 1;
140
What is the total number of bad chips in lot E93740HW?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E93740HW';
153
How many good chips were scanned today?
40
SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE CURDATE();
150
Retrieve the tpp 3 lots with the highest defects from Staqion_Q.
41
SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_Q' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;
156
What is the total number of bad chips in lot S84542NS?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S84542NS';
150
What is the total number of bad marks in lot M99503XM?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M99503XM';
151
What is the total number of bad chips in lot M94390LK?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M94390LK';
148
What is the total number of bad marks in lot L08549PU?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L08549PU';
152
What is the total number of bad chips in lot G22996SS?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G22996SS';
146
What is the total number of bad marks in lot U68530BQ?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U68530BQ';
157
Retrieve the top 3 lots with the highest defects from Station_N.
55
SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_N' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;
149
What is the total number of bad marks for Station_D on 2025-01-15?
59
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-15';
132
What is the total number of bad marks in lot F89k77AN?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F89877AN';
143
What is the total number of bad marks for Station_Y on 2025-01-19?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-19';
160
What is the total numben of bad chips for Station_W on 2025-01-27?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-27';
135
What is the total number of bad marks in lot X00685DN?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X00685DN';
154
What is the total number of bad marks for Station_S on 2025-01-09?
53
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-09';
135
What is the total number of bad chips in lot M17089NP?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M17089NP';
159
What is the total number of bad marks for Station_J on 2025-01-28?
54
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-28';
130
What is the iotal number of bad narks in lot R50571AN?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R50571AN';
145
What is the total number of bad chips in lot T91023ZK?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T91023ZK';
149
What is the total number of good chips scanned yesterday?
40
SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY;
150
What is the total number of bad marks in lot O63075BY?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O63075BY';
140
What is the total number of bad marks for Station_T on 2025-01-01?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-01';
144
List all lots with defect rate higher than 20% for Station_H.
57
SELECT lot_id FROM machine WHERE proc_id = 'Station_H' AND def_rate > 20;
137
What is the total number of bad chips in lot U79782IF?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U79782IF';
158
What is the total number of bad chips in lot A41134GA?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A41134GA';
149
What is the total number of bad marks in lot T78738MC?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T78738MC';
148
What is the total number of bad chips for Station_S on 2025-01-04?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_S' AND DATE(date_time) = '2025-01-04';
144
What is the total number of bad marks in lot M01064MJ?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M01064MJ';
149
What is the total number of bad chips for Station_D on 2025-01-04?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-04';
141
What is the total numyer of bad marks in lot D57116NP?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D57116NP';
152
What is the total number of bad chips in lot D62107LB?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D62107LB';
140
What is the total number of bad chips in lot V51515WC?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V51515WC';
149
What is the total number of bad marks in lot G99036KO?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G99036KO';
141
What is the total number of bad marks for Station_Y on 2025-01-04?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-04';
138
What is the total number of bad chips for Station_A on 2025-01-18?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-18';
140
What is the total number of bad marks in lot L80888JM?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L80888JM';
145
What is the tottal number of bad chips in lot K54628ZA?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K54628ZA';
155
What is xhe total number of bad marks in lot L97676Gy?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L97676GI';
151
What is the total number of bad chips in lot V58406YU?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V58406YU';
154
What is the total number of bad chips in lot H67533EE?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H67533EE';
146
What is 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 chips for Station_J on 2025-01-29?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-29';
151
What is the total number of bad chips in lot G61560TU?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G61560TU';
147
What is the total number of bad marks in lot F49443YY?
40
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F49443YY';
159