✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Tabel employees memiliki lebih dari 1 juta baris, dengan struktur sebagai berikut:
CREATE TABLE employees (
Ssn CHAR(9) PRIMARY KEY,
Name VARCHAR(100),
Gender CHAR,
Bdate DATE,
Address VARCHAR(30),
Salary INT,
Department_id INT,
);
Dengan asumsi seluruh query berikut menghasilkan output yang sama, manakah query yang paling optimal secara performa?