0
テーブルから選択したカウント値の文字列を追加したいとします。選択カウント値付きのconcat文字列 - mysql
SELECT
CONCAT(COUNT(*),' ', if(COUNT(*) > 1, 'rows','row')) AS NoOfRows
FROM myTable;
出力:
NoOfRows
BLOB
予想:私は間違って何をやっている
NoOfRows
10 rows
?
このクエリは、罰金のようです。 – Blank
これを見て... http://stackoverflow.com/questions/18840557/mysql-concatstring-longtext-results-in-hex-string – LordWilmore