我具有例如1數據庫整除實驗室ID = 15樣品每個樣品有4個項目或大於4。計數行由4
例如數據
Lab ID Sample ID Test ID /each test ID have
1 16 32 test a
1 16 32 test b
1 16 32 test c total test 4
1 16 32 test d
1 17 33 test a
1 17 33 test b
1 17 33 test c total total 5
1 17 33 test d
1 17 33 test e
1 18 34 test a
1 18 34 test b
1 18 34 test c total total 5
1 18 34 test d
1 18 34 test e
1 19 35 test a
1 19 35 test b
1 19 35 test c total total 5
1 19 35 test d
1 19 35 test e
1 20 36 test a
1 20 36 test b total total 4
1 20 36 test c
1 20 36 test d
如何可計算每個的數目測試ID不能被4整除?
輸出必須是3
的MySQL數據庫XAMMP你 –
是否嘗試過什麼?或者你只是需要答案...:/ – Aditya
我試過但沒有得到正確的結果 –