PNP_PIbd-31_Rodionov_I_A_Co.../data/requestDeviceModels.sql
2024-12-24 18:02:23 +04:00

11 lines
210 B
SQL

SELECT
dm.*,
dt.name AS device_type_name,
m.name AS manufacturer_name
FROM
device_model dm
JOIN
device_type dt ON dm.fk_id_type = dt.id
JOIN
manufacturer m ON dm.fk_id_manuf = m.id;