Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE happy_hour_member ( hh_id number, member_id number, total_amount number )
TABLE: CREATE TABLE shop ( shop_id number, address text, num_of_staff text, score number, open_year text )
TABLE: CREATE TABLE member ( member_id number, name text, membership_card text, age number, time_of_purchase number, level_of_membership number, address text )
TABLE: CREATE TABLE happy_hour ( hh_id number, shop_id number, month text, num_of_shaff_in_charge number )

### Question ###
Which address has both members younger than 30 and members older than 40?

### Accurate SQL ###

SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40