Jump to content

[SOLVED] How I.. select data from merging 2 schemas id table


sspoke

Recommended Posts

I got confused I used to do this before.. but I don't do mysql often so I forgot

 

remember something with  AS statement  im trying to use name='something' from a different schemas to find data X,Y in a different schema I show picture

 

howtestingjoinua9.png

 

I want to get X,Y by name from differnet schema basicaly

 

 

 

 

SELECT x,y FROM user_locations, user_credentials WHERE name='testing123'

SELECT l.x, l.y FROM user_locations AS l , user_credentials AS c WHERE c.name='testing123'

 

 

both show up wrong data

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.