I have two tables one is Registration which has column as reg_id and first_name and other details and the other table is activity which also has reg_id ,first_name and other details with reg_id as common the tables. There can be multiple entries for 1 reg_id in activity table
我想以这样的方式询问这两个表格,我想知道所有那些在两个表格中都有不同名头的人。
Eg:if
1st table data
--------------
Reg_id first_name
1 ashu
2 &parker
3 *fzz
4 john
2nd Table data
--------------
Reg_id first_name
1 ashu
2 parker
3 michel
4 john
我的询问结果应归还2 3名女佣。