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 in lot X66361JI?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X66361JI';
159
What is the total number of bad marks in lot Y99837BB?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y99837BB';
144
What is the total nummber of bad chips in lot E30564JZ?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E30564JZ';
159
What is the total number of bad chips in lot N75260QW?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N75260QW';
140
What is the total number of bad marks in lot V13559BC?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V13559BC';
147
What is the total number of bad chips for Station_H on 2025-01-21?
52
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_H' AND DATE(date_time) = '2025-01-21';
154
What is the total number of trays scanned with at least one good chip?
40
SELECT COUNT(*) AS total_trays_with_good_chips FROM machine WHERE def_qty < 72;
150
What is the total number of bad marks in lot F14662IG?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F14662IG';
148
What is the total number of bad marks for Station_B on 2025-01-23?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-23';
158
What is the total number of bad marks in lot N42640CA?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N42640CA';
149
What is the total number of bad marks in lot E92253PN?
38
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E92253PN';
149
What is the total number of bad marks in lot Y50453QZ?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y50453QZ';
151
How many good chips were scanned last month?
40
SELECT SUM(72 - def_qty) AS total_good_chips FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH);
150
What is the total number of bad marks in lot N84612NG?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N84612NG';
153
What is the total number of bad chips in lot X20641BM?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X20641BM';
152
What is the total number of bad marks for Station_J on 2025-01-15?
60
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-15';
142
What is the total number of bad marks for Station_P on 2025-01-02?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_P' AND DATE(date_time) = '2025-01-02';
156
What is the total number of bad chips for Station_G on 2025-01-29?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-29';
143
What is the total number of bad chips in lot W54852CT?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W54852CT';
141
What is the total number of bad chips in lot Y41132ET?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y41132ET';
152
What is the tottal nummber of bad chips in lot V18198GC?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V18198GC';
155
What is the total number of bad chips in lot O63896XZ?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O63896XZ';
144
What is the total number of bad marks in lot Q05762OX?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q05762OX';
145
Whwt is the total number of bad marks in lot I46144HL?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I46144HL';
146
How many non-defective chips did we count today?
40
SELECT SUM(good_qty) AS total_non_defective_chips FROM machine WHERE CURDATE();
150
What is the total number of bad marks in lot L37103ZW?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L37103ZW';
140
What is the total number of bad chips in lot T22134SY?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T22134SY';
156
What is the total number of bad chips for Station_I on 2025-01-21?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-21';
157
What is the total number of bad chips for Station_V on 2025-01-04?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-04';
133
What is the total number of bad chips in lot X03905KR?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X03905KR';
146
What is the total number of bad marks for Station_M on 2025-01-28?
55
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-28';
159
Find the average defect rate for lots scanned at Station_N in January.
44
SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_N' AND MONTH(date_time) = 1;
139
What is the total number of bad chips in lot G62693QO?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G62693QO';
140
What is the total number of bad marks in lot C4t648SV?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C48648SV';
156
What is the total number of bad marks for Station_R on 2025-01-02?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-02';
138
What is the total number of bad marks for Station_D on 2025-01-17?
41
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-17';
137
What is the total number of bad chips in lot K04503ZE?
39
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K04503ZE';
158
What is the total number of bad marks for Station_K on 2025-01-08?
54
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_K' AND DATE(date_time) = '2025-01-08';
137
What is the total number of bad marks in lot J12779GB?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J12779GB';
149
What is the total number of bad chips in lot T15177CM?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T15177CM';
140
What is the total number of defects recorded on 2025-01-08?
42
SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08';
154
List ala lotp with defect wate higaer than 2c% for Station_Uj
49
SELECT lot_id FROM machine WHERE proc_id = 'Station_U' AND def_rate > 20;
156
What is the average defect rat for station BA_RF?
35
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BA_RF;
158
What is the total number of bad marks in lot R78847OX?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R78847OX';
158
What is the total number of bad chips for Station_Z on 2025-01-05?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-05';
148
What is the total number of bad chips in lot X13651AY?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X13651AY';
142
What is the total number of bad marks for Station_R on 2025-01-18?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_R' AND DATE(date_time) = '2025-01-18';
150
What is the total number of bad chips in lot N53682JV?
37
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N53682JV';
147
What is the total number of bad marks in lot P79273LW?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P79273LW';
156
What is the average defect rete for station BS?
42
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS;
142
What is the total number of bad chips for Station_M on 2025-01-16?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-16';
143
How many trays were counted yesterday?
42
SELECT COUNT(*) AS total_trays FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
145
What is the total number of good chips scanned across all trays yesterday?
40
SELECT SUM(72 - def_qty) AS total_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
150
What is the total number of bad chips in lot I69186FU?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I69186FU';
159
What is the tottal number of bad chips in lot G85761CC?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G85761CC';
141
What is the total number of bad chips in lot L22006QX?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L22006QX';
141
How many working chips were scanned yesterday?
42
SELECT COUNT(*) AS total_working_chips FROM machine WHERE CURDATE() - INTERVAL 1 DAY AND def_qty = 0;
145
List all lots with defect rate higher than 20% for Station_V.
44
SELECT lot_id FROM machine WHERE proc_id = 'Station_V' AND def_rate > 20;
159
What is the total number of bad marks for Station_B on 2025-01-06?
57
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-06';
145
What is the total number of bad chips in lot M53469SA?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'M53469SA';
150
What is the total number of bad chips for Station_I on 2025-01-01?
56
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-01';
131
What is the total number of bad marks for Station_B on 2025-01-12?
49
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_B' AND DATE(date_time) = '2025-01-12';
160
What is the total number of bad chips for Station_A on 2025-01-30?
44
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_A' AND DATE(date_time) = '2025-01-30';
135
What is the total number of bad marks in lot T51321NC?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'T51321NC';
150
What is the total number of bad chips in lot P18550YZ?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P18550YZ';
143
What is the total number of bad marks in lot X60628SN?
42
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X60628SN';
157
What is the total number of bad chips in lot V09380OQ?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'V09380OQ';
160
What is the total nummber of bad marks in lot K37781OC?
43
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'K37781OC';
157
What is the total nuuber of bad marks for Station_E on 2025-01-26?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-26';
152
What is the total number of bad chips in lot F00426XO?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F00426XO';
144
What is the total number of bad chips in lot J63707WN?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J63707WN';
159
What is the total number of bad marks in lot D44822XB?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D44822XB';
142
What tray had the maximum bad marks yesterday?
50
SELECT lot_id, MAX(bms + cdb + maker) AS max_bad_marks FROM machine WHERE CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY max_bad_marks DESC LIMIT 1;
135
What is the total number of bad chips in lot Y71316TI?
48
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y71316TI';
157
What is the total number of bad chips in lot A96123RG?
31
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A96123RG';
156
What is the total number of bad chips in lot H30237EV?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H30237EV';
153
What is the average defect rat for station C test?
35
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test;
144
What is the total number of bad chips in lot N09929OE?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N09929OE';
160
What is the total number of bad marks in lot L39080DE?
35
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L39080DE';
142
What is the total number of bad chips for Station_T on 2025-01-03?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-03';
130
Whyt is the total number of bad chips for Station_O on 2025-01-28?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_O' AND DATE(date_time) = '2025-01-28';
152
Find the average number of good chips scanned yesterday.
45
SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE CURDATE() - INTERVAL 1 DAY;
135
What is the total number of bad chips in lot G78342VN?
45
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G78342VN';
152
Retrieve the top 3 lots with the highest defects from Station_U.
58
SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_U' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3;
130
What is the total number of bad chips in lot U07076FO?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U07076FO';
154
What is the total nummber of bad marks in lot I84920AQ?
34
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I84920AQ';
155
What is the total number of bad chips in lot A43292YU?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A43292YU';
149
What is the total number of bad chips in lot W61180QA?
36
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W61180QA';
151
What is the total number of bad marks for Station_G on 2025-01-13?
46
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-13';
134
What is the total nummber of bad marks in lot X22173GI?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X22173GI';
145
What is the total number of bad chips in lot B05086HW?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B05086HW';
157
What is the total number of bad chips in lot A89697GL?
47
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A89697GL';
142
Find the tray winh only gaod chips scanned last montl.
40
SELECT lot_id FROM machine WHERE MONTH(date_time) = MONTH(CURDATE() - INTERVAL 1 MONTH) AND def_qty = 0;
150
Which tray had the lowest number of good chips scanned yesterday?
50
SELECT lot_id, MIN(72 - def_qty) AS min_good_qty FROM machine WHERE DATE(date_time) = CURDATE() - INTERVAL 1 DAY GROUP BY lot_id ORDER BY min_good_qty LIMIT 1;
140
What is the total number of bad chips in lot X24103XG?
50
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X24103XG';
160
What is the total numbes of bad marks for Station_F on 2025-01-18?
59
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-18';
148
What is the total number of bad marks in lot Y95129PL?
33
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y95129PL';
160
What is the total number of bad chips in lot U11335XG?
30
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U11335XG';
141
What is the average defect rate for station BT?
32
SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BT;
158
What is the total number of bad chips in lot X36686VX?
32
SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X36686VX';
144