 DELIMITER $$

CREATE OR REPLACE DEFINER=`root`@`localhost`  VIEW v_crm_log_keywords AS 
SELECT lp,`value` as symbol,displayValue as opis, param5 FROM slowniki_pierwotne WHERE slownik_GUID='CRM_TIMESHEET_KEYWORDS' AND param5<>'InActive';

$$

CREATE OR REPLACE DEFINER=`root`@`localhost`  VIEW v_crm_keywords AS 
SELECT lp,`value` as symbol,displayValue as opis, param5 FROM slowniki_pierwotne WHERE slownik_GUID='CRM_KEYWORDS' AND param5<>'InActive';

$$

DELIMITER ;