DROP TABLE IF EXISTS `v_guide`;
DROP VIEW IF EXISTS `v_guide`;

CREATE OR REPLACE VIEW `_db_guide`.`v_guide` AS 
SELECT m_guide.*, m_category.c_categoryName, m_category.c_categoryDisplayOrder
FROM m_guide
LEFT OUTER JOIN m_category ON m_guide.id_category = m_category.id_category
WHERE m_guide.c_delete = 0;
