tbl_Connections:
uc_Id uc_User uc_Connection uc_IsPending uc_DateTime
72 jasonramia jeffreyramia 0 2011-10-29 16:42:49.000
74 jasonramia beta 0 2011-10-29 16:55:38.000
75 jeffreyramia beta 0 2011-10-29 20:36:11.000
tbl_LiveStream:
ls_Id ls_Story ls_User ls_Connection ls_DateTime
30 test jeffreyramia jasonramia 2011-10-29 19:16:48.000
31 aheln jasonramia jasonramia 2011-10-29 19:17:48.000
32 test jasonramia beta 2011-10-29 19:27:02.000
我需要返回*從直播視頻的jeffreyramia(或任何其它用戶)只有ls_User或ls_Connection是朋友從表tbl_Connections(uc_User或uc_Connection)SQL朋友(連接)連接語句
conncted到jeffreyramia更多細節在這裏:SQL SELECT From two tables (friendship) statement
在此先感謝您。 :)
什麼都沒有,因爲我沒有線索如何做到這一點...:/ – href