instruction
stringlengths 32
88
| input
stringclasses 1
value | output
stringlengths 57
175
|
---|---|---|
Find the average defect rate for lots scanned at Station_I in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_I' AND MONTH(date_time) = 1; |
|
What is the total number of bad marks in lot Y37019GJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y37019GJ'; |
|
What is the total number of bad marks in lot X59481MC? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X59481MC'; |
|
What is the average defect rete for station SG Cleaning? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = SG Cleaning; |
|
What is the total number of bad marks in lot U05241PL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U05241PL'; |
|
What is the total number of bad marks in lot D80723BR? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D80723BR'; |
|
What is the total number of bad chips in lot X39706US? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X39706US'; |
|
What is the total number of bad marks for Station_V on 2025-01-19? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-19'; |
|
What is the total number of bad marks for Station_D on 2025-01-07? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_D' AND DATE(date_time) = '2025-01-07'; |
|
What is the total number of bad chips in lot Y26290JF? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y26290JF'; |
|
What is the total number of bad marks for Station_L on 2025-01-05? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_L' AND DATE(date_time) = '2025-01-05'; |
|
What is the total number of bad chips for Station_W on 2025-01-12? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-12'; |
|
What is the total number of bad chips in lot P78022VK? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P78022VK'; |
|
What is the total number of bad chips in lot Z30452FZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z30452FZ'; |
|
What is the total number of bad marks for Station_V on 2025-01-12? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_V' AND DATE(date_time) = '2025-01-12'; |
|
Find the average defect rate for lots scanned at Station_C in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_C' AND MONTH(date_time) = 1; |
|
What is the total number of bad marks in lot C08276MZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C08276MZ'; |
|
What is the total number of bad marks in lot G55041TD? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G55041TD'; |
|
What is the total number of bad marks for Station_X on 2025-01-05? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-05'; |
|
What is the total number of bad chips in lot S35078NJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S35078NJ'; |
|
What is the total number of bad marks in lot X68069ZH? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X68069ZH'; |
|
What is the total number of bad marks in lot O89155GI? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'O89155GI'; |
|
What is the total number of bad marks for Station_T on 2025-01-06? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-06'; |
|
What is the total number of bad marks in lot Z16477RO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Z16477RO'; |
|
What is the average 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 B35743YQ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B35743YQ'; |
|
What is the total number of bad chips in lot I28284PE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I28284PE'; |
|
What is the average defect rate for station C test? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = C test; |
|
What is the total number of bad chips in lot N93753SO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N93753SO'; |
|
What is the total number of bad chips in lot E61786ET? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'E61786ET'; |
|
What is the total number of bad marks in lot B81195QY? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B81195QY'; |
|
What is the total number of bad marks for Station_Z on 2025-01-31? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-31'; |
|
What is the total number of bad marks in lot R37289MF? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R37289MF'; |
|
What is the total number of bad chips in lot D84467WH? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D84467WH'; |
|
What is hhe total number of bad mnrks for Station_Y on 2n25-01-27? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-27'; |
|
What is the total number of bad marks in lot S77658AA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S77658AA'; |
|
What is the tottal number of defects recorded on 2025-01-08? | SELECT SUM(def_qty) AS total_defects FROM machine WHERE DATE(date_time) = '2025-01-08'; |
|
What is the total number of bad marks in lot U93530QU? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U93530QU'; |
|
What is the total number of bad chips in lot W67135GL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W67135GL'; |
|
What is the total number of bad chips in lot L40893KC? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L40893KC'; |
|
What is the total number of bad chips in lot S67428YK? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'S67428YK'; |
|
What is the total number of bad marks for Station_Q on 2025-01-02? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-02'; |
|
What is the total number of bad marks in lot H05007FO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H05007FO'; |
|
Retrieve the top 3 lots with the highest defects from Station_D. | SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_D' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3; |
|
What is the todal number of bad chips in lot X09472FS? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X09472FS'; |
|
What is the total nummber of bad chips in lot H27898WJ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H27898WJ'; |
|
What is the total number of bad chips in lot U75899SR? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U75899SR'; |
|
What is the total number of bad chips in lot X75056GZ? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'X75056GZ'; |
|
What is the thtal number of bad marks in lot N48313FS? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N48313FS'; |
|
What is the total number of bad chips in lot R46140CR? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'R46140CR'; |
|
What is the total number of bad marks for Station_W on 2025-01-22? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-22'; |
|
What is the tottal number of bad chips in lot C15575CE? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C15575CE'; |
|
What is the tottal number of bad chips in lot P63189YP? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P63189YP'; |
|
What is the total number of bad marks in lot I17930JU? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I17930JU'; |
|
What is tze total number of bad marks in lot Y88848SI? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Y88848SI'; |
|
Find the average number of good chips scanned today. | SELECT AVG(72 - def_qty) AS avg_good_qty FROM machine WHERE CURDATE(); |
|
Find the average defect rate for lots scanned at Station_H in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_H' AND MONTH(date_time) = 1; |
|
What is the total number of bad marks in lot D95012NP? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'D95012NP'; |
|
What is the total number of bad marks in lot I50642OH? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I50642OH'; |
|
What is the total number of bad marks for Station_I on 2025-01-25? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-25'; |
|
What is the total number of bad chips for Station_M on 2025-01-15? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_M' AND DATE(date_time) = '2025-01-15'; |
|
What is the total number of bad marks for Station_U on 2025-01-25? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_U' AND DATE(date_time) = '2025-01-25'; |
|
What is the total number of bad marks for Station_Y on 2025-01-31? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Y' AND DATE(date_time) = '2025-01-31'; |
|
What is the total number of bad marks for Station_F on 2025-01-11? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-11'; |
|
What is the total number of bad chips in lot L10517BY? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L10517BY'; |
|
What is the tojal number of bad marks in lot W02232KD? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'W02232KD'; |
|
What is the total number of bad marks in lot G81599DO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'G81599DO'; |
|
Retrieve the top 3 lots with the highest defects from Station_B. | SELECT lot_id, SUM(def_qty) AS total_defective FROM machine WHERE proc_id = 'Station_B' GROUP BY lot_id ORDER BY total_defective DESC LIMIT 3; |
|
What is the total number of bad marks for Station_F on 2025-01-01? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-01'; |
|
What is the average defect rete for station JUNB-AVI? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = JUNB-AVI; |
|
Whaj is txe total number of bad chips in lot B25324OH? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B25324OH'; |
|
How many trays scanned this year had all good chips? | SELECT COUNT(*) AS trays_with_all_good FROM machine WHERE YEAR(date_time) = YEAR(CURDATE()) AND def_qty = 0; |
|
What is the total number of bad chips for Station_J on 2025-01-30? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_J' AND DATE(date_time) = '2025-01-30'; |
|
What is the total number of bad marks in lot B98636SW? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'B98636SW'; |
|
What is the total number of bad marks in lot I29079FL? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'I29079FL'; |
|
What is the total number of bad marks for Station_G on 2025-01-02? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-02'; |
|
Whaz is the total number of bad marks for Station_I on 2025-01-03? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_I' AND DATE(date_time) = '2025-01-03'; |
|
What is the average defect rat for station BS? | SELECT AVG(def_rate) AS avg_defect_rate FROM machine WHERE proc_id = BS; |
|
What is the total number of bad marks in lot N58161IN? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'N58161IN'; |
|
What is the total number of bad chips for Station_E on 2025-01-07? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_E' AND DATE(date_time) = '2025-01-07'; |
|
What is the total number of bad marks for Station_X on 2025-01-31? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_X' AND DATE(date_time) = '2025-01-31'; |
|
What is the total number of bad marks in lot Q94533RT? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'Q94533RT'; |
|
What is the total number of bad chips for Station_T on 2025-01-11? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-11'; |
|
How many erays were counted in the year 2025? | SELECT COUNT(*) AS total_trays FROM machine WHERE YEAR(date_time) = 2025; |
|
What is the total number of bad marks in lot F23756MO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'F23756MO'; |
|
What is the total number of bad chips for Station_Z on 2025-01-22? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Z' AND DATE(date_time) = '2025-01-22'; |
|
What is the totad number of pad chips in lot A97461HH? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'A97461HH'; |
|
What is the total number of bad marks for Station_F on 2025-01-12? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_F' AND DATE(date_time) = '2025-01-12'; |
|
What is the total number of bad chips for Station_W on 2025-01-26? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_W' AND DATE(date_time) = '2025-01-26'; |
|
What is the tottal number of bad chips in lot U07076FO? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'U07076FO'; |
|
What is the total nummber of bad marks in lot L37103ZW? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'L37103ZW'; |
|
Which lot has the lowest defect rate? | SELECT lot_id FROM machine ORDER BY def_rate ASC LIMIT 1; |
|
What is the total number of bad chips in lot P01377WC? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'P01377WC'; |
|
What is the total number of bad chips in lot C81952GP? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'C81952GP'; |
|
What is the total number of bad marks for Station_Q on 2025-01-23? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_Q' AND DATE(date_time) = '2025-01-23'; |
|
Whkt is the total number of bad marks for Station_G on 2025-01-27? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_G' AND DATE(date_time) = '2025-01-27'; |
|
xhat is the totll number of bad chips in lot H57676AA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'H57676AA'; |
|
What is the total number of bad chips for Station_T on 2025-01-10? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE proc_id = 'Station_T' AND DATE(date_time) = '2025-01-10'; |
|
What is the total number of bad chips in lot J49045YA? | SELECT SUM(def_qty) AS total_defective_chips FROM machine WHERE lot_id = 'J49045YA'; |
|
Find the average defect rate for lots scanned at Station_A in January. | SELECT AVG(def_rate) AS avg_def_rate FROM machine WHERE proc_id = 'Station_A' AND MONTH(date_time) = 1; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.