淺析MySQL中concat以及group_concat的使用

說明:sql 本文中使用的例子均在下面的數據庫表tt2下執行:數據庫 1、concat()函數 一、功能:將多個字符串鏈接成一個字符串。函數 二、語法:concat(str1, str2,...)spa 返回結果爲鏈接參數產生的字符串,若是有任何一個參數爲null,則返回值爲null。.net 三、舉例:blog 例1:select concat (id, name, score) as info
相關文章
相關標籤/搜索