相关疑难解决方法(0)

如何在MySQL中模拟print语句?

我有一些程序,我希望在评估条件后得到某种确认.

例如,pusedocode就像,

if ( select count(*) from assgn to where eid = 1 )  > 5
  print " the total number of projects employee working is more than 5 "
else
  insert the value into the assgnto table  
Run Code Online (Sandbox Code Playgroud)

我该如何在MySQL中这样做呢?

mysql

44
推荐指数
3
解决办法
10万
查看次数

标签 统计

mysql ×1