-1
我有一個像這樣提取數據
user_id| Year | Math |English| Computer | Accounting|
-------|-------|------|-------|----------|-----------|
1 12 0 1 0 1
SQL表所以我只想其值爲1就例如受試者我希望它解壓到echo
像user 1 is in year 12 and takes English and Accounting
我怎麼能做到這一點我完全失去了
糟糕的表格設計......有一個班級專欄和幾個行,而不是幾個欄和一個行。 (也許需要另一個表格。) – jarlh