随笔分类 - mysql
摘要:函数返回小于或等于指定值(value)的最小整数,取整,没有四舍五入这一说法 select floor(105.56) from dual 105 select floor(105.46) from dual 105
阅读全文
摘要:转自:https://www.cnblogs.com/zknublx/p/8757752.html sqlachemy:join outerjoin mysql:inner join leftjoin
阅读全文
摘要:转自:https://www.cnblogs.com/chenshishuo/p/5030029.html
阅读全文
摘要:转自:https://www.cnblogs.com/augusite/p/13251990.html
阅读全文
摘要:转自:https://www.cnblogs.com/zhoujie/p/mysql1.html 转自:https://www.cnblogs.com/shigfdengys/p/mysql.html 转自:https://www.cnblogs.com/honeylemon/p/10591899.
阅读全文
摘要:转自:https://www.cnblogs.com/wanglijun/p/8916790.html
阅读全文
摘要:转自:https://www.cnblogs.com/meml/p/13579831.html
阅读全文
摘要:转自:https://www.cnblogs.com/qwj-sysu/p/5400705.html
阅读全文
摘要:1、事务开启提交: begin; insert into table values(1, 'one', 'two'); commit; 2、事务开启回滚: begin; insert into table values(1, 'one', 'two'); rollback; 3、事务保存点: beg
阅读全文
摘要:语句:select * from user \G; 作用:按行显示
阅读全文
摘要:mysql -u 用户名 -p密码 -h 服务器IP地址 -P 服务器端MySQL端口号 -D 数据库名 注意: (1)服务器端口标志-P一定要大些以区别于用户-p,如果直接连接数据库标志-D也要大写; (2)如果要直接输入密码-p后面不能留有空格如-pmypassword; (3)命令结束段没有'
阅读全文
posted @ 2020-04-26 09:16
Fmaj-7
摘要:创建密码: MariaDB [(none)]> use mysql; MariaDB [mysql]> UPDATE user SET password=password('newpassword') WHERE user='root'; MariaDB [mysql]> flush privile
阅读全文
浙公网安备 33010602011771号