-4

当前 MySQL 查询:

SELECT A.* 
FROM std_results_lev1_sem1 A JOIN std_results_lev1_sem2 B
     ON A.std_id = B.std_id
     JOIN std_results_lev2_sem1 C
     ON B.std_id = C.std_id
     JOIN std_results_lev2_sem2 D
     ON C.std_id =D.std_id
     JOIN  std_results_lev3_sem1 E 
     ON D.std_id = E.std_id
   JOIN  std_results_lev3_sem2 F 
     ON E.std_id = F.std_id
ORDER BY std_id ASC;

所有这些表都有相同的std_id

4

1 回答 1

2

按顺序排列的 std_id 不明确。

ORDER BY A.std_id ASC;
于 2012-12-05T07:41:10.727 回答