如何防止此查询不重复这样的结果:
我的查询如下:
SELECT A.c_comp_name, A.i_id_user, B.c_name, C.c_map_name, D.c_temp_name
FROM dc_cnf_costumer AS A, dc_cnf_page AS B, dc_cnf_map AS C, dc_cnf_renderer AS D
输出:
c_comp_name i_id_user c_name c_map_name c_temp_name
comp_1 4 Home /map1/ template.php
comp_2 4 Home /map1/ template_two.php
comp_1 4 Home /map1/ template.php
comp_2 4 Home /map1/ template_two.php
comp_1 4 Home /map1/ template.php
comp_2 4 Home /map1/ template_two.php
comp_1 4 Home /map1/ template.php
comp_2 4 Home /map1/ template_two.php