create view second_first_sort(second_sort_id, second_sort_name, first_sort_id, first_sort_name)
as
select b.sort_id, b.sort_name, a.sort_id, a.sort_name
from first_sort a, second_sort b
where a.sort_id = b.father_sort_id;它提示sort_id重复 1060 duplicate column name
感觉这样写应该没有问题啊,
是不是Mysql不支持这种写法?