I have two tables
1) Id Name Id_Proffesia 1 Denis 2 2 Alex 2 2) Id Professia 1 Programmist 2 Ingener
The first database will be quite large (100.000 records). I need to display the id, the name of the person and his profession, like this:
2 Alex Ingener
I have only one question: in what way is it better to do this (Join, a subquery or via the @ variable)?
Id_Proffesia
field, anId_Proffesia
must be set, or, even better, a foreign key. - KiTE