摘要:
-- 查看MySQL本次启动后的运行时间(单位:秒) show status like 'uptime'; --查看select语句的执行数 show [global] status like 'com_select'; --查看insert语句的执行数 show [global] status l 阅读全文
摘要:
已知一个数,得知那些行的合计后等于这个数:如,表中哪些行数相加等于200的全部组合 CREATE TABLE #t(ID VARCHAR(1),数据 INT) INSERT INTO #t select 'a',10 union all select 'b',90 union all select 阅读全文