Jump to content

mysql select question


CrosRoad95

Recommended Posts

I don't think a UNION is quite what he wants, furthermore I doubt it'll even work, considering that this is one of the UNION operators requirements:

Quote

The columns must also have similar data types

This would be more what he wants:

SELECT * FROM players WHERE player_id=? JOIN licenses ON players.player_id=licenses.player_id

...however it'll not give you exactly what you are looking for. Read more on JOINs here: W3Schools

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...