Report: Cancer

From TNG_Wiki
Jump to navigation Jump to search

Description: Individuals born in astrological sign cancer: 22 JUN - 22 JUL

Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate

SELECT personID, lastname, firstname, birthdate, birthplace,gedcom, living 
FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>"" AND ((MONTH(birthdatetr)=6 
AND DAYOFMONTH(birthdatetr)>=22) OR (MONTH(birthdatetr)=7 AND DAYOFMONTH(birthdatetr)<=22)) 
ORDER BY lastname, firstname, personID