SELECT u.login,
u.password,
u.email,
u.aut,
s.setting_1,
s.setting_2,
s.setting_3,
s.setting_4,
s.setting_5,
s.setting_6,
s.setting_7,
s.setting_8,
s.setting_9
FROM Regs_Stats s
INNER JOIN Regs_User3 u on u.login = s.login