300g | myurl.com/1/Meatball-300g |
+-----+---------------+---------------------------+ 我试着这样做,但是我不知道concat里面有concat SELECT CONCAT_WS("/","myurl.com",id,CONCAT(dont know if this format concat was right)) AS url
mysql_query("UPDATE users SET friends = CONCAT(friends,"$friend_id") WHERE username = '$user_logged_in'") or die mysql_error());mysql_query("UPDATE users SET friends = friends +" . ", " .
我有一个在sqlfiddle中工作的枢轴表代码,当我在phpmyadmin中将它带回我的数据库时,我似乎无法让查询正常工作。当我在我的localHost phpmyadmin中运行它时,查询如下所示:
SET @@group_concat_max_len = 5000;# MySQL returned an empty resultSET @sql = NULL;# MySQL returned an empty result set (i.e. zero rows).SELECT GROUP_C