$sql = "
SELECT
cpu.ID_Code,
dep.name_Department;
cpu.type_machine,
mac.machine_name,
prt.Printer_name,
equ.Equipment_name,
cpu.Date,
cpu.sticker,
cpu.IPAddress,
cpu.Network
FROM cpu JOIN department dep ON cpu.Code_Department = dep.Code_Department
JOIN machine mac ON cpu.machine_code = mac.machine_code
JOIN printer prt ON cpu.Printer_code = prt.Printer_code
JOIN equipment equ ON cpu.Equipment_code = equ.Equipment_code
ORDER BY cpu.ID_Code";