culuo4781的博客This is the third article in a series of learning the CREATE VIEW SQL statement. So far, I’d say that we’re comfortable and familiar with the syntax, and we’ve learned how to create and modify vie....
至学者的博客百万数据插入 DROP FUNCTION IF EXISTS mock_data; -- 写函数之前必须要写,标志:$$ DELIMITER $$ CREATE FUNCTION mock_data() RETURNS INT -- 注意returns,否则报错。 BEGIN DECLARE num INT DEFAULT 1000000; --...