日期:2025-07-15 05:23:47 人气:1

    A+
热门评论

如何用SQL语句查询两张表中的相同字段数据

假设表1位table1 ,表2位table2 select a.col from (select column_name col from user_tab_columns where table_name = 'table1') a , (select column_name col from user_tab_columns where table_name = 'table2') b where a.col = b.col 这样就可以查询出两个表得相同字段了

阅读全文