macromedia.coldfusion.database_access
[Top] [All Lists]

Re: How get record?.

Subject: Re: How get record?.
From: "Amm85" <webforumsuser@xxxxxxxxxxxxxx>
Date: Tue, 19 Feb 2008 21:19:13 +0000 (UTC)
Newsgroups: macromedia.coldfusion.database_access

Sorry...i miss type...

 this is correct query...not working.

 This query bring all records in tbl_emp. i want only, tbl_emp.status = 
'retired' records.

 select tbl_emp.empid,tbl_emp.name,tbl_emp.st_date,tbl_dept.deptname
 from tbl_emp left join tbl_dept
 on tbl_emp.dept_id = tbl_dept.deptid
 where tbl_emp.status = 'retired' 



<Prev in Thread] Current Thread [Next in Thread>