sql query by passing te values in one table

Posted by subash on Stack Overflow See other posts from Stack Overflow or by subash
Published on 2010-05-29T12:00:38Z Indexed on 2010/05/29 12:02 UTC
Read the original article Hit count: 307

Filed under:
|

can any one help me in generating query for the below scenario?

i have twop tables TableA and TableB

TableA has teh follwing columns EMPLOYEEID, SKILLSETCODE,CERTID, LASTNAME, FIRSTNAME, MIDDLEINITIAL

TableB has two columns EMPLOYEEID and key_user

i want to SELECT EMPLOYEEID, SKILLSETCODE,CERTID, LASTNAME, FIRSTNAME, MIDDLEINITIAL FROM TableA WHERE EMPLOYEEID = (select employeeid from TableB where key_user='249')

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about sql