Microsoft
Software
Hardware
Network
Question : left join with specific right table records
I have 2 tables titles and requests
requests has a field for the date of the request and an id of teh person requesting it
select * from titles left join requests titles on titles.id=requests.title
This will show all the tiles and the corresponding requests (if any). A person can have multiple requests for a given title. Fine.
I need a query that will show all title but in each title instead of all requests only those of a specific person...
Answer : left join with specific right table records
select * from titles left join (Select * from requests where person = <somevalue> ) as q1
on titles.id=q1.title
Random Solutions
Best Software Environment to create Image / Designs / Templates for Websites
Mac RDP clients slow?
Lotus Agent to save attachment
How to update & append at the same time from another table a table in SQL Server
Automatic Email Upon RDP Connection
Fading in/out a popup Window in Flex 4.0
Can't open to a specified PDF page in IE 8
Ampersand in Web.Config appSettings
c# select command no return
Send certain emails to another remote exchange server