毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 数据库 >> 正文

Access怎么给表取别名

更新时间:2013-3-25:  来源:毕业论文

Access怎么给表取别名
select a,*,b.item_name as JobType,c.item_name as workYears,d.item_name as educationRequired from Job  a,itemsMst b,itemsMst c,itemsMst d where id =1 and a.job_type=b.item_id and b.group_id='Job_Type' and a.workYears=c.item_id and c.group_id='Work_Years' and a.EducationRequired=d.item_id and d.group_id='Education_Required'
执行的时候提示给变量a赋值。

select a.*,b.item_name as JobType,c.item_name as workYears,d.item_name as educationRequired from Job  a,itemsMst b,itemsMst c,itemsMst d where id =1 and a.job_type=b.item_id and b.group_id='Job_Type' and a.workYears=c.item_id and c.group_id='Work_Years' and a.EducationRequired=d.item_id and d.group_id='Education_Required' 

检查JOB表中是否有job_type字段

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。