大佬教程收集整理的这篇文章主要介绍了MySQL Log,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
1.alter table customer CHaraCTER SET utf8mb4 ColLATE utf8mb4_unicode_ci;
unreadNotificationCountByType
SELECT count() AS @R_907_10586@l FROM (SELECT FROM notification WHERE customer_ID In (0,69165) AND type = 0 AND status = 1) n left JOIN (SELECT notification_ID FROM notification_read WHERE customer_ID = 69165) nr ON (n.notification_ID = nr.notification_ID) WHERE isnull(nr.notification_ID)
SELECT n.,isnull(nr.notification_ID) AS unread FROM (SELECT FROM notification WHERE customer_ID IN (0,69165) AND type = 0 AND status = 1) n left JOIN (SELECT notification_ID,deleted FROM notification_read WHERE customer_ID = 69165) nr ON (n.notification_ID = nr.notification_ID) WHERE isnull(nr.deleted) OR nr.deleted = 0 ORDER BY n.created_at DESC liMIT 0,1
以上是大佬教程为你收集整理的MySQL Log全部内容,希望文章能够帮你解决MySQL Log所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。