两张表有相同的字段名称,创建视图得时候如何避免相同字段名称
可以使用别名区分开。比如 select a.name name1,b.name name2 from table1 a ,table2 b where a.bid = b.id;