摘要: * now() (返回当前系统日期和时间) *curdate() (返回当前系统日期不包括时间) *curtime() 只返回时间 *year() 返回年 month() 返回月 day() 返回天 select year("1998-9-8") 1998 select month("1998-9- 阅读全文
posted @ 2019-08-07 23:04 Be_your_own_hero 阅读(137) 评论(0) 推荐(0) 编辑
摘要: *round(四舍五入) select round(1.34) 1 select round(1.9) 2 select round(1.234,2) 1.23 select round(1.457,2) 1.46 *ceil(向上取整) select ceil(1.34) 2 select cei 阅读全文
posted @ 2019-08-07 22:14 Be_your_own_hero 阅读(123) 评论(0) 推荐(0) 编辑
摘要: *单行函数 *length(获取字节个数) select length("join") 返回4 *concat(拼接) select concat("firstname","_","last_name"); firstname_last_name *upper(将所有字母变大写) select up 阅读全文
posted @ 2019-08-07 22:02 Be_your_own_hero 阅读(164) 评论(0) 推荐(0) 编辑
摘要: ele=driver.find_elements_by_xpath("//img[@src='/Public/Home/Default/images/shanchu.png']")[0] #获取元素属性 print(ele.get_attribute("src")) #修改元素属性 driver.execute_script("arguments[0].setAttribute(argument... 阅读全文
posted @ 2019-08-07 16:44 Be_your_own_hero 阅读(859) 评论(0) 推荐(0) 编辑