Johny Bravo
asked on
Help with Sql query(Select)
Hi Experts,
I have written following query,
select v.village_name,s.new_surve y_no from tbSurvey s inner join tbLACase lc on s.lac_no = lc.lac_no
inner join tbVillage v on v.village_id = s.village_id where lc.lac_no = '1/A-65/1998-99'
Now there is a column 'possession_date' in tbSurvey.In the above query,I want to show possession_status.
If possession_date is entered in the tbSurvey for that new_survey_no,I want to show 'Yes' else 'No'
How to do this?
I have written following query,
select v.village_name,s.new_surve
inner join tbVillage v on v.village_id = s.village_id where lc.lac_no = '1/A-65/1998-99'
Now there is a column 'possession_date' in tbSurvey.In the above query,I want to show possession_status.
If possession_date is entered in the tbSurvey for that new_survey_no,I want to show 'Yes' else 'No'
How to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER