12
Answers

want to check the row with previous column

raji b

raji b

11y
952
1
hi 

      am having a table which contains no,name,dob,alivestatus(yes/no) that whether he s alive or not ,weddingdate, couplename, 
 i want to display the wedding report. if the name of the member and cname is alive means i want to display their name with wedding date. how to write a query for this pls help me sir. here s my sample table

NoNameDobalive statusweddingdatecouplename
1sanju2/2/1980yes6/23/2009Divya
1divya3/4/1983yes

2ashok4/4/1983yes3/3/2010anju
2anju3/6/1986no









in this basic details of sanju and other members details are inserted. sanju's wife is divya. so divya  doesnt contain the weddingdate and couplename bcse already enterd in sanju's details. so i want to check the husband and wife s alive or not if they both alive means i want to display the wedding report
Answers (12)