11 lines
210 B
SQL
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;
|