Violeta Popa

Violeta Popa

  • 2k
  • 137
  • 155.9k

join 2 tables one to one

Apr 30 2013 6:11 AM
Hi there :)

I need to join 2 one to one tables. How can i do that? Here's sth i've wrote, but it doesn't work.

SELECT * FROM utilizator JOIN client ON utilizator.id_client=client.id_client ON utilizator.id_utilizator=client.id_utilizator WHERE id_utilizator=username ...etc

Thanks!

Answers (2)