我的表是這樣的:如何檢索來自同一列中的記錄表使用聯接在SQL
EmployeeID FirstName LastName DateOfBirth MaritalStatus Gender Email InsertedDate UpdatedDate dateofjoining
1 Sai Kumar 15/10/1993 Unmarried Male [email protected] 2014-01-01 2014-01-01 2014-01-02 00:00:00.000
2 Venky rachipudi 16/10/1991 Unmarried male [email protected] 2014-02-02 2014-02-02 2014-02-02 00:00:00.000
3 Manoj Kumar 16/10/1990 Married male [email protected] 2014-03-03 2014-03-03 2014-03-04 00:00:00.000
二表
TeamID EmployeeID TeamLeadID ProjectID
1 1 3 1
2 2 3 2
很好的數據......你真正的問題是什麼? –
我期待員工姓名和團隊負責人姓名從我的第一張桌子加入第二張桌子 –