
MySQL
明伯
好好学习天天向上..
展开
-
MySQL日期时间函数大全
MySQL日期时间函数大全 DAYOFWEEK(date) 返回日期date是星期几(1=星期天,2=星期一,……7=星期六,ODBC标准)mysql> select DAYOFWEEK('1998-02-03'); -> 3 WEEKDAY(date) 返回日期date是星期几(0=星转载 2014-12-10 13:01:07 · 488 阅读 · 0 评论 -
sql语句delete----关联两表删除两表内容
关联两表删除两表内容delete t1,t2 from t_pic as t1 left join t_pic_muc_comments as t2 on t1.pmcid=t2.pmcid where t1.pid=1原创 2015-09-20 10:52:24 · 12789 阅读 · 6 评论 -
mysql_localhost可连接,ip连接不了
原因没有打开root的权限在窗口运行下面指令grant all privileges on *.* to 'root'@'%'identified by ''; flush privileges; //刷新原创 2015-12-04 16:51:17 · 446 阅读 · 0 评论