DROP PROCEDURE IF EXISTS `get_users`;
DELIMITER ;;
CREATE PROCEDURE `get_users` ()
proc:BEGIN
    -- Should check user type
    SELECT U.id, UT.description AS 'type', U.email, U.location, 'get_users' AS 'proc'
    FROM users U JOIN user_type_t UT
    ON U.type = UT.user_type;
END ;;
DELIMITER ;
