Data from 2 tables

hi,
i have 2 tables,data is stored and i want to retrieve data from 2 tables in a single query, is it possible to achiev it?

table 1
id - visit
1
2
3
.
3
2
3
.
.


table 2
id - meeting
1
2
3
4
1
2
3
4
.
.
.

tables are just like this, both IDs are having samelike value.
nowiwant to get the IDS of those 5 persons who have more visits and meeting,but i want in a single query…plz help

go to google, enter “SQL tutorial”, and read a few of them

look for join query