Jump to content

Issue in Select Statement


newphpbees

Recommended Posts

Hi...

 

i had encountered problem in my select statement..

 

here is my query:

 

SELECT s.EMP_NO, p.SSS, CONCAT(LNAME, ', ',  FNAME, ' ', MI, '.') AS FULLNAME, s.SSSLoan, s.SSSAmor FROM hris.PERSONAL p, hris.employment em, payroll.sssloan s WHERE em.EMP_ID = p.EMP_ID AND em.EMP_NO = s.EMP_NO;

 

the output of this query is all data in SSSLoan was displayed..I want to display only is the employee that i choose.

 

Thank you

Link to comment
https://forums.phpfreaks.com/topic/253522-issue-in-select-statement/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.