2017-07-30 58 views

回答

0

如下你可以這樣做:

SELECT * 
    FROM coc1 
UNION 
SELECT * 
    FROM coc2 
UNION 
SELECT * 
    FROM coc3 

SELECT 
    TABLE_NAME 
    FROM 
    information_schema.TABLES 
WHERE 
    table_schema = [DB_NAME] 
    AND 
    TABLE_NAME LIKE 'coc%' 
相關問題