SELECT m_tov.id, m_tov.nab_id, m_fab.id, m_nabors.id, m_prod_types.id, m_nabors.type_id, m_tov.name, m_nabors.name, m_fab.name, m_tov.price, m_tov.picture, m_tov.schema_pic, m_nabors.picture, m_fab.logo, m_nabors.schema_pic, m_tov.width, m_tov.height, m_tov.depth, m_tov.article, m_prod_types.name, m_prod_types.alias
FROM m_tov, m_nabors, m_fab, m_prod_types
WHERE m_tov.nab_id = m_nabors.id
AND m_nabors.fab_id = m_fab.id
AND m_nabors.type_id = m_prod_types.id
AND (m_tov.price > 0) |