`select * from users join shell_history using (uid...
# general
t
select * from users join shell_history using (uid);
should do the trick