摘要:
1、数字类型 类型:int float 运算符:+ - * / // 示例: 示例代码 int a = 2; int b = 2; float c = 2.0; float d = 2.0; a + - * b = int; a + - * c = float; a / b = float; a / 阅读全文
摘要:
验证SQL执行效率 先查看profile是否打开 如果没开则打开 SHOW VARIABLES LIKE '%pro%'; #查验mysql中profile的设置选项 SET profiling = 1 #设置pofiling为1(打开状态) SHOW PROFILES #查看profiles的记录 阅读全文