1
ID Type Category Description
20 Space Board Type Painted Bulletin Revenue
21 Space Board Type 8-Sheet Billboard Revenue
22 Space Board Type Short Term Revenue
這是我有的表,因爲描述可能很大我想我的選擇在下面的格式,它是爲填充網格,可以在前端完成,但如果其對SQL是好選擇單行到兩行
ID Type Category
20 Space Board Type
Painted Bulletin Revenue
21 Space Board Type
8-Sheet Billboard Revenue
22 Space Board Type
Short Term Revenue
是的,它有可能在SQL做的,但我100%,你不應該這樣做在SQL。這顯然是一個前端任務。使用SQL來存儲和獲取數據,並根據需要使用前端格式化數據 –