Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AlloyMental
Starting Member
2 Posts |
Posted - 2008-08-18 : 09:11:59
|
| hi , hopefully posting this in the right place and any help will be greatly recivedbasicaly im tryin to produce a query across two tables , with the end result being p_id,m_id ,name and surname being displayed.p_id being in the properties table and the rest being in the managers table , with a 1 to 1 relationshipi know the basics but just cant seem to create the linked query.again ty for any help :) |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2008-08-18 : 09:14:54
|
[code]select p.p_id ,m.m_id ,m.name ,m.surname from properties p inner join managers m on p.p_id = m.p_id[/code] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
AlloyMental
Starting Member
2 Posts |
Posted - 2008-08-18 : 09:23:18
|
| big ty mr khtan :) had 2 modify my table as had a minor error and it now works fine:D |
 |
|
|
|
|
|