DISTINCT
关键字。,,``sql,SELECT DISTINCT column1, column2,FROM table1,JOIN table2 ON table1.id = table2.id;,
``,,这样可以确保结果集中没有重复的行。DISTINCT
关键字。,,``sql,SELECT DISTINCT column1, column2,FROM table1,JOIN table2 ON table1.id = table2.id;,
``,,这样可以确保结果集中没有重复的行。SELECT DISTINCT
关键字来执行不重复查询。Powered By Z-BlogPHP 1.7.3
Copyright Your WebSite.Some Rights Reserved.