我在数据库中有多个表:
tblOjt
ID studentid courseid companyid addresseeid dateadded datestarted dateended ojthours
1 3 1 1 1 9/25/2013 500
tbl学生
ID lastname firstname middlename course gender renderedhours dateadded archive
3 Dela Cruz Juan Santos BSIT Male 500
tbl课程
ID coursealias coursename hours
1 BSIT Bachelor of Science in Information Technology 500
tbl公司
ID companyname
1 MyCompany
tbl 地址
ID addresseename
1 John dela Cruz
我需要有一个 SQL 语句,我可以在其中获取这些值:
tableOjt.id tableOJT.surname,firstname, and middlename course companyname addresseename dateadded datestarted dateended ojthours
我将如何使用这些连接方法在 SQL 中获取此代码...我在 VB6 ADODC 中编写它,这与标准 SQL 中的语法是否相同?谢谢