Click here to Skip to main content
15,920,632 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to select some information from member table where member field =familymember field
Posted

What do you mean by table ? If you mean a database table, I would suggest that this is precisely the sort of trivial, simple, idiot proof task that you should do some research on and use as an opportunity to learn at least the basics of database development.

I assume you wanted precisely this sort of advice and not code you could copy and paste, because otherwise you'd have told us the schema of your tables and the other information required to write this code.
 
Share this answer
 
Hello,
Plz, elaborate your question a bit.
 
Share this answer
 
Hello,

You may try similar code according to your requirement:

SELECT *
FROM employee, department
WHERE employee.DepartmentID = department.DepartmentID

Hope this will be helpful.
 
Share this answer
 
Hello

u should first learn the basic thing.
if ur qus is releated to database then i suggest u to first study the basic
and not just make the copy, paste habit
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900