views:

20

answers:

1

I want to fetch data from two table buut i m realy confused.

just i want recent two users in my site but problem is there that two users releted information stored in other table .

I also used join query to fetch that data but proper result not get .

A: 

Are you getting the correct results when you run your query in SQL Server Management Studio (SSMS)? Make sure you can isolate where your problem is.

If the query returns the correct results when you run it in SSMS, then post up your code and we can help you find the problem.

If the query isn't returning your desired results post the table structure and the query and we can help you with that.

Abe Miessler