raji b

raji b

  • NA
  • 15
  • 1.2k

want to check the row with previous column

Sep 29 2013 11:54 AM
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)