Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Dan

SQL Query

Recommended Posts

Left joins suck :p

 

I have a huge headache I am hoping someone can cure by helping me with some code.

 

I have 2 tables:

user_online

user

 

user_online only holds user_id

user has user_id and user_name

 

I need code to grab and list user_name(s) of the user_id(s) that are present in the user_online table

 

Clear as mud? Thanks for anyone offering any help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...