摘要:
select TABLE_SCHEMA , TABLE_NAME from information_schema.TABLES where table_type='view' and TABLE_SCHEMA ='yw_plm'; 【说明】 yw_plm是你的数据库名称; view说明是要查看所有的 阅读全文
posted @ 2020-07-09 23:33
lishidefengchen
阅读(3714)
评论(0)
推荐(0)
摘要:
command/ctrl + shift + h 阅读全文
posted @ 2020-07-09 11:46
lishidefengchen
阅读(8044)
评论(0)
推荐(0)
摘要:
[原数据表] [分组联合] SELECT gender, GROUP_CONCAT(`name` ORDER BY `name` DESC SEPARATOR ',') AS `names` FROM plm_test GROUP BY gender; (完) 阅读全文
posted @ 2020-07-09 09:57
lishidefengchen
阅读(279)
评论(0)
推荐(0)
摘要:
SELECT currency_id, COUNT(*) AS "Count" FROM tablea WHERE currency_id = 0 GROUP BY currency_id HAVING COUNT(*) >= 3; [注意] 语法位置 where条件语句中的条件必须在select中 阅读全文
posted @ 2020-07-09 09:36
lishidefengchen
阅读(1408)
评论(0)
推荐(0)

浙公网安备 33010602011771号