SELECT 

a.id,  a.name,  b.days 

from 

user a,  user_data b 

where 

a.id = b.uid ;


a 和 b 分别是表 user 和 user_data 的别名。