How to use Intermediate variables in MySQL
How to use intermediate variables in MySQL? for this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
SET @ countries= (SELECT GROUP_CONCAT (DISTINCT countrys) FROM gui_web_region_info); INSERT INTO gui_web_action_info SELECT '2013-04-16, package_name, country,' gui_i000', using_count FROM gui_web_total_using_info, (SELECT DISTINCT country FROM gui_web_action_info WHERE INSTR (@ countries, country) > 0 AND LENGTH (country) = 2) b This is the answer to the question about how to use intermediate variables in MySQL. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.