user_name, some_table.sex as user_sex, address.address_id as address_id, address.address_city as address_city from some_table inner join address on some_table.address_id = address.address_id where some_table.user_id = #{id} </select> 67
user_name, some_table.sex as user_sex, hobby.hobby_id as hobby_id, hobby.hobby_name as hobby_name from some_table inner join user_hobby on some_table.user_id = user_hobby.user_id inner join hobby on user_hobby.hobby_id = hobby.hobby_id where some_table.id = #{id} </select> 75