View Single Post
  #2  
Old 09-23-2009, 09:30 AM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

Quote:
Originally Posted by trevius View Post
I prefer to use a gui for all MySQL stuff, so having to open the accounts table to find the account ID in it, then checking the new account_ip table for the account ID and entries for it is just 1 extra step.
select a.*, b.name from account_ip a, account b where b.id = a.accid;

looking for someone's ip's:

select a.name, b.* from account a, account_ip b where a.name = "Rogean" and b.accid = a.id;
__________________
EQEmulator Developer / Administrator

Last edited by Rogean; 09-23-2009 at 09:33 AM..
Reply With Quote