Thinkphp query结果排序不一致

浏览:644 发布日期:2015/11/05 分类:求助交流
$suitecaseCMD="SELECT a.TestCase from suitecase as a,testcase as b WHERE a.TestSuite='$testsuite' AND a.TestCase=b.TestCase ORDER BY b.Level";
            $testcase=M()->query($suitecaseCMD);
SELECT a.TestCase from suitecase as a,testcase as b WHERE a.TestSuite='smoke-test' AND a.TestCase=b.TestCase ORDER BY b.Level输出结果1: tc_ip_ac    |
| tc_up         |
| tc_ping_ent       |
| tc_ping_f           |
| tc_check_w|
| tc_hard       |
| tc_firm       |
| tc_curre        |
| tc_check_    |
| tc_r            
输出结果2: tc_ip_ac    |
| tc_ping_ent       |
| tc_ping_f           |
| tc_up         |
| tc_check_w|
| tc_hard       |
| tc_firm       |
| tc_curre        |
| tc_check_    |
| tc_r            
最佳答案
评论( 相关
后面还有条评论,点击查看>>