Steenbok 22 december - 21 januari Ik streef mijn doel na
Maatschappelijke positie. Je doelen
Het leerproces van de pijn. Wetten
Plichten en verantwoordelijkheden
Heerser Saturnus
- geeft aan hoe we door noodzakelijke beperkingen onze eigen vorm moeten zien te vinden,
om daarmee te kunnen funktioneren in de maatschappij
- hoe je met verantwoordelijkheden, plichten en allerlei wetten omgaat
- welke doelen je jezelf stelt
Capricorn is the Cardinal-Earth sign. Capricorns are natural goal setters. They willingly handle many tasks if it helps them get what they want. Many things get accomplished simply because they happen to be part of Capricorn\'s overall efforts to reach higher goals. They need definitive guidelines. Rules and regulations provide structure they need for establishing the pattern of their own actions. They must learn however, that the end never justifies the means.
","1","","","","SELECT personID, lastname, firstname, birthdate, birthplace,gedcom, living FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>\"\" AND ((MONTH(birthdatetr)=12 AND DAYOFMONTH(birthdatetr)>=22) OR (MONTH(birthdatetr)=1 AND DAYOFMONTH(birthdatetr)<=20)) ORDER BY lastname, firstname, personID","1"
"29","Waterman","Personen, geboren in het astrologische teken Waterman (Aquarius): 21.01.-19.02.
Individuals born in astrological sign aquarius: 21 JAN - 19 FEB
Waterman . 21 januari - 20 februari Ik ben ik, en jij bent jij
Vrienden. Geestverwanten. Persoonlijke vrijheid.
Nieuwe strukturen op basis van gelijkheid voor iedereen
Politieke partijen. Klubverband
Heerser Uranus;
- geeft de behoefte tot veranderen, verbreken en doorbreken aan van bestaande normen en
grenzen, zodat je je als individu kunt ontwikkelen.
- hoe je oorspronkelijk en origineel wilt zijn
- mensen die je helpen bij het vervullen van je wensen, die ten dienste staan van de mensheid
Aquarius is the Fixed-Air sign. Aquarians are born looking for ideologies to which they can stubbornly cling. They refuse to budge whenever an issue involves what they believe to be a \"matter of principle. \" As in the case of the Aquarian Abraham Lincoln, society greatly benefits when these principles happen to be noble ones.","2","","","","SELECT personID, lastname, firstname, birthdate, birthplace,gedcom, living FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>\"\" AND ((MONTH(birthdatetr)=1 AND DAYOFMONTH(birthdatetr)>=21) OR (MONTH(birthdatetr)=2 AND DAYOFMONTH(birthdatetr)<=19)) ORDER BY lastname, firstname, personID;","1"
"30","Vissen","Personen, geboren in het astrologische teken Vissen (Pisces): 20.02.-20.03.
Individuals born in astrological signVissen 20 februari - 22 maart Ik offer en droom verder Afzondering. Eenheidsbeleving. Illusies
Helderziendheid. Aanvoelend vermogen. Geheimen. Fantasie
Dromen. Hypnose, Verborgen vijanden. Onzichtbare tegenwerking
Heerser; Neptunus
- geeft aan daar waar je zonder eigenbelang anderen kunt helpen
- hoe je omgaat met spirituele waarden
- daar waar je \"de mist in kan raken\", en erg beïnvloedbaar bent -
- hoe iemand intuïtief zijn juiste draai in het leven vindt.
Pisces is the Mutable-Water sign. Pisceans adapt emotionally to the influence of their environment. Often painfully shy, they are adept at imitating the mannerisms of other people as a way of hiding their own personality. Pisceans can too easily become victims of their considerable ability to identify with the personality and problems of other people, since it severely restricts the development of their own personality traits and talents.","3","","","","SELECT personID, lastname, firstname, birthdate, birthplace,gedcom, living FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>\"\" AND ((MONTH(birthdatetr)=2 AND DAYOFMONTH(birthdatetr)>=20) OR (MONTH(birthdatetr)=3 AND DAYOFMONTH(birthdatetr)<=20)) ORDER BY lastname, firstname, personID;","1"
"34","Changed families","Gezinnen die verandert zijn in de laatste 90 dagen
Families changed within the last 90 days","21","","","","SELECT familyID, h.personID, h.lastname, h.firstname, w.personID AS FraupersonID, w.lastname AS FrauName, w.firstname AS FrauVorname, marrdate, marrplace, f.changedate, f.living, f.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID LEFT JOIN tng_people AS w ON f.wife=w.personID WHERE DATE_SUB(CURDATE(),INTERVAL 90 DAY)<=f.changedate ORDER BY changedate DESC;","1"
"35","Changes in headstones (Last 90 days w.o. people","headstones: changes within the last 90 days (listing *without* linked individuals and *without* linked cemeteries)","22","","","","SELECT mediaID, description, notes, changedate
FROM tng_media AS hs
WHERE DATE_SUB( CURDATE( ) , INTERVAL 90
DAY ) <= hs.changedate
AND hs.mediatypeID = \"headstones\"
ORDER BY hs.changedate DESC ","1"
"36","Changed headstones with links to cemetries","Headstones: changes within the last 90 days (listing *without* linked individuals but *with* linked cemeteries) ","23","","","","SELECT mediaID, description, hs.notes, hs.changedate, cemname, city, county, state, country
FROM tng_media AS hs
LEFT JOIN tng_cemeteries AS cem ON cem.cemeteryID = hs.cemeteryID
WHERE hs.mediatypeID = \"headstones\"
AND DATE_SUB( CURDATE( ) , INTERVAL 90
DAY ) <= hs.changedate
ORDER BY hs.changedate, description DESC ","1"
"37","Changed photos, without links to people","Photos changed within the last 90 days (listing *without* linked individuals)","24","","","","SELECT description, m.notes, m.changedate
FROM tng_media AS m
WHERE m.mediatypeID = \"photos\"
AND DATE_SUB( CURDATE( ) , INTERVAL 90
DAY ) <= m.changedate
ORDER BY m.changedate DESC ","1"
"38","Photos changed within the last 90 days","Photos changed within the last 90 days (listing *with* linked individuals) ","25","","","","SELECT description, m.notes, m.changedate, p.personID, p.gedcom, p.lastname, p.firstname, p.living, p.gedcom FROM tng_media AS m
LEFT JOIN tng_medialinks AS ml ON (ml.mediaID=m.mediaID AND ml.gedcom=ml.gedcom)
LEFT JOIN tng_people AS p ON (ml.personID=p.personID AND ml.gedcom=p.gedcom)
WHERE mediatypeID<>\"headstones\" AND DATE_SUB(CURDATE(),INTERVAL 90 DAY)<=m.changedate
ORDER BY m.changedate DESC; ","1"
"41","empty notes","empty notes","118","","","","SELECT persfamID, note FROM tng_xnotes AS xn LEFT JOIN tng_notelinks AS nl ON
nl.xnoteID=xn.ID WHERE note REGEXP \"[print]|[punct]|[\\.]|
[\\?]\"=0 ORDER BY persfamID;","1"
"43","Unknown sex","A list of the people with unknown gender and not stillborn
Een lijst met personen waarvan de sexe onbekend is en die niet doodgeboren zijn.","27","personID
fullname
birthdate
birthplace
deathdate
deathplace
","sex
=
\"U\"
AND
firstname
!=
\"NN\"
","personID
","","1"
"44","Veterans","An overview of veterans (at least if you added some)","30","","","","SELECT tng_people.living, lnprefix, suffix, tng_people.branch,lastname, firstname,birthdate,deathdate,e104.eventdate as eventdate104,e104.eventplace as eventplace104,e104.info as info104, tng_people.personID, tng_people.gedcom, nameorder FROM (tng_people ) LEFT JOIN tng_events e104 ON tng_people.personID = e104.persfamID AND tng_people.gedcom = e104.gedcom AND e104.eventtypeID = \"104\" WHERE (e104.eventplace LIKE \"%%\") ORDER BY lastname","1"
"45","all occuring places, including place levels","all occuring places, including place levels ","31","","","","SELECT place,longitude,latitude, notes, ID FROM tng_places ORDER BY place; ","1"
"46","sources with citation frequency, ordered by sources","sources with citation frequency, ordered by sources ","32","","","","SELECT s.sourceID AS SourceNr, s.title AS Title, s.shorttitle AS ShortTitle, s.author AS Author, s.publisher AS Publisher, s.comments AS Comments, COUNT(*) AS Number FROM tng_sources AS s LEFT JOIN tng_citations AS c ON s.sourceID=c.sourceID GROUP BY s.sourceID ORDER BY s.sourceID; ","1"
"47","sources with citation frequency, ordered by frequency","sources with citation frequency, ordered by frequency ","33","","","","SELECT s.sourceID AS SourceNr, s.title AS Title, s.shorttitle AS ShortTitle, s.author AS Author, s.publisher AS Publisher, s.comments AS Remarks, COUNT(*) AS Number FROM tng_sources AS s LEFT JOIN tng_citations AS c ON s.sourceID=c.sourceID GROUP BY s.sourceID ORDER BY Number","1"
"48","sources: citation texts - with frequency of occurence","sources: citation texts - with frequency of occurence ordered by description","35","","","","SELECT description, COUNT(*) AS Number FROM tng_citations GROUP BY description ORDER BY description; ","1"
"52","individuals: frequency distribution of zodiacal signs","individuals: frequency distribution of zodiac signs ","36","","","","SELECT CASE WHEN (MONTH(birthdatetr)=3 AND DAYOFMONTH(birthdatetr)>=21) OR (MONTH(birthdatetr)=4 AND DAYOFMONTH(birthdatetr)<=20) THEN \"Aries\" WHEN (MONTH(birthdatetr)=4 AND DAYOFMONTH(birthdatetr)>=21) OR (MONTH(birthdatetr)=5 AND DAYOFMONTH(birthdatetr)<=20) THEN \"Taurus\" WHEN (MONTH(birthdatetr)=5 AND DAYOFMONTH(birthdatetr)>=21) OR (MONTH(birthdatetr)=6 AND DAYOFMONTH(birthdatetr)<=21) THEN \"Gemini\" WHEN (MONTH(birthdatetr)=6 AND DAYOFMONTH(birthdatetr)>=22) OR (MONTH(birthdatetr)=7 AND DAYOFMONTH(birthdatetr)<=22) THEN \"Cancer\" WHEN (MONTH(birthdatetr)=7 AND DAYOFMONTH(birthdatetr)>=23) OR (MONTH(birthdatetr)=8 AND DAYOFMONTH(birthdatetr)<=23) THEN \"Leo\" WHEN (MONTH(birthdatetr)=8 AND DAYOFMONTH(birthdatetr)>=24) OR (MONTH(birthdatetr)=9 AND DAYOFMONTH(birthdatetr)<=23) THEN \"Virgo\" WHEN (MONTH(birthdatetr)=9 AND DAYOFMONTH(birthdatetr)>=24) OR (MONTH(birthdatetr)=10 AND DAYOFMONTH(birthdatetr)<=23) THEN \"Libra\" WHEN (MONTH(birthdatetr)=10 AND DAYOFMONTH(birthdatetr)>=24) OR (MONTH(birthdatetr)=11 AND DAYOFMONTH(birthdatetr)<=22) THEN \"Scorpius\" WHEN (MONTH(birthdatetr)=11 AND DAYOFMONTH(birthdatetr)>=23) OR (MONTH(birthdatetr)=12 AND DAYOFMONTH(birthdatetr)<=21) THEN \"Sagittarius\" WHEN (MONTH(birthdatetr)=12 AND DAYOFMONTH(birthdatetr)>=22) OR (MONTH(birthdatetr)=1 AND DAYOFMONTH(birthdatetr)<=20) THEN \"Capricornus\" WHEN (MONTH(birthdatetr)=1 AND DAYOFMONTH(birthdatetr)>=21) OR (MONTH(birthdatetr)=2 AND DAYOFMONTH(birthdatetr)<=19) THEN \"Aquarius\" WHEN (MONTH(birthdatetr)=2 AND DAYOFMONTH(birthdatetr)>=20) OR (MONTH(birthdatetr)=3 AND DAYOFMONTH(birthdatetr)<=20) THEN \"Pisces\" END AS Sternzeichen, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphik FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>\"\" GROUP BY Sternzeichen; ","1"
"53","individuals without places","individuals without places - missing birth/baptism/death/burial place (empty place fields) ","38","","","","SELECT personID, lastname, firstname, living, gedcom FROM tng_people WHERE ((birthplace=NULL) OR (birthplace=\"\")) AND ((altbirthplace=NULL) OR (altbirthplace=\"\")) AND ((deathplace=NULL) OR (deathplace=\"\")) AND ((burialplace=NULL) OR (burialplace=\"\")) ORDER BY lastname, firstname; ","1"
"54","individuals without date of birth/baptism/death/burial","individuals without date of birth/baptism/death/burial (empty date fields) ","37","","","","SELECT personID, lastname, firstname, living, gedcom FROM tng_people WHERE
((birthdate=NULL) OR (birthdate=\"\")) AND
(birthdatetr=\"0000-00-00\") AND
((altbirthdate=NULL) OR (altbirthdate=\"\")) AND
(altbirthdatetr=\"0000-00-00\") AND
((deathdate=NULL) OR (deathdate=\"\")) AND
(deathdatetr=\"0000-00-00\") AND
((burialdate=NULL) OR (burialdate=\"\")) AND
(burialdatetr=\"0000-00-00\")
ORDER BY lastname, firstname; ","1"
"55","indivuals ordered by ascending age","indivuals ordered by ascending age (only deceased) ","39","","","","SELECT lastname, firstname, personID, birthdate, birthdatetr, deathdate, deathdatetr, YEAR(deathdatetr)-YEAR(birthdatetr) AS Age, gedcom FROM tng_people WHERE (birthdatetr<>\"0000-00-00\") AND (deathdatetr<>\"0000-00-00\") ORDER BY Age, lastname, firstname ","1"
"56","individuals: age frequency distribution","individuals: age frequency distribution (only deceased)
Individuen: leeftijdsgrafieken (alleen overledenen)","40","","","","SELECT YEAR(deathdatetr)-YEAR(birthdatetr) AS Age, COUNT(YEAR(deathdatetr)-YEAR(birthdatetr)) AS Total FROM tng_people WHERE (birthdatetr<>\"0000-00-00\") AND (deathdatetr<>\"0000-00-00\") GROUP BY Age","1"
"57","individuals: age frequency per decade","individuals: age frequency per decade (only deceased), one = equals 100 people
Individuen: leeftijdsverdeling per 10 jaren (alleen overledenen), een = is 100 mensen","42","","","","SELECT 10*FLOOR((YEAR(deathdatetr)-YEAR(birthdatetr))/10) AS Age_From, 10*FLOOR((YEAR(deathdatetr)-YEAR(birthdatetr))/10)+9 AS Age_To, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/100,\'=\') AS Graphik FROM tng_people WHERE (birthdatetr<>\"0000-00-00\") AND (deathdatetr<>\"0000-00-00\") GROUP BY Age_From; ","1"
"58","Individuals marked as living","Individuals marked as \"living\" with age > 100 years ","43","","","","SELECT personID, lastname, firstname, birthdate, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)>100) AND living=1 AND YEAR(birthdatetr)<>0 ORDER BY lastname, firstname, birthdatetr;","1"
"59","inviduals: birthdays in the current month","inviduals: birthdays in the current month (only deceased persons) ","44","","","","SELECT personID, lastname, firstname, birthdate, deathdate, YEAR(NOW())-YEAR(birthdatetr) AS Years, gedcom FROM tng_people WHERE MONTH(birthdatetr)=MONTH(NOW()) AND living=0 ORDER BY lastname, firstname, personID; ","1"
"60","individuals with an unclear date of birth","individuals with an unclear date of birth e.g. \"ABT\", \"BEF\", \"AFT\", \"CAL\" ","45","","","","SELECT personID, lastname, firstname, birthdate, living, gedcom FROM tng_people WHERE
((UCASE(birthdate) LIKE \"%CAL%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%ERR%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%BEF%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%AFT%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%ABT%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%BEF%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%AFT%\" AND birthdate<>\"\") ) AND Birthdate <> \"y\"
ORDER BY lastname, firstname, personID; ","1"
"61","individuals: birth frequency by century","individuals: birth frequency by century, one = equals 100 people
Individuen: geboortegrafieken per eeuw, een = is 100 mensen","46","","","","SELECT 100*FLOOR(YEAR(birthdatetr)/100) AS Year_From, (100*FLOOR(YEAR(birthdatetr)/100))+99 AS Year_Till, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/100,\'=\') AS Grafic FROM tng_people WHERE birthdatetr<>\'0000-00-00\'GROUP BY Year_From ORDER BY Year_From; ","1"
"62","individuals: birth frequency by decades","individuals: birth frequency by decades, one = equals 50 people
Individuen: geboortegrafieken per 10 jaren, een = is 50 mensen","47","","","","SELECT 10*FLOOR(YEAR(birthdatetr)/10) AS from_Year, (10*FLOOR(YEAR(birthdatetr)/10))+9 AS till_Year, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/50,\'=\') AS Grafic FROM tng_people WHERE birthdatetr<>\'0000-00-00\' GROUP BY from_Year ORDER BY from_Year; ","1"
"63","individuals: birth frequency by calendar months","individuals: birth frequency by calendar months, one = equals 50 people
Individuen: geboortegrafieken per kalendermaand, een = is 50 mensen","48","","","","SELECT MONTHNAME(birthdatetr) AS Month_of_Birth, MONTH(birthdatetr) AS number_of_month_of_birth, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_people WHERE MONTH(birthdatetr)>0 GROUP BY number_of_month_of_birth; ","1"
"64","individuals: baptism frequency by century","individuals: baptism frequency by century, one = equals 100 people
Individuen: doopgrafieken per eew, een = is 100 mensen","49","","","","SELECT 100*FLOOR(YEAR(altbirthdatetr)/100) AS from_Year, 99+(100*FLOOR(YEAR(altbirthdatetr)/100)) AS till_Year, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/100,\'X\') AS Graphic FROM tng_people WHERE altbirthdatetr<>\'0000-00-00\' GROUP BY from_Year ORDER BY from_Year; ","1"
"65","individuals: days between birth and baptism","individuals: number of days from birth and baptism
individuen: aantal dagen tussen geboorte en doop","50","","","","SELECT personID, lastname, firstname, birthdate, altbirthdate, TO_DAYS(altbirthdatetr)-TO_DAYS(birthdatetr) AS AnzahlTage, living, gedcom FROM tng_people WHERE birthdate<>\"\" AND altbirthdate<>\"\" AND DAYOFMONTH(altbirthdatetr)>0 AND DAYOFMONTH(birthdatetr)>0 ORDER BY ABS(TO_DAYS(altbirthdatetr)-TO_DAYS(birthdatetr)) DESC, lastname, firstname, birthdatetr; ","1"
"66","individuals: frequency distribution of days from birth to baptism","individuals: frequency distribution of days from birth to baptism, one = equals 10 people
Individuen: grafiek van de verdeling van dagen tussen geboorte en doop, een = is 10 mensen","51","","","","SELECT TO_DAYS(altbirthdatetr)-TO_DAYS(birthdatetr) AS Total_days, COUNT(*) AS Frequency, RPAD(\'\',COUNT(*)/10,\'=\') AS Graphic FROM tng_people WHERE altbirthdate<>\"\" AND birthdate<>\"\" AND DAYOFMONTH(altbirthdatetr)>0 AND DAYOFMONTH(birthdatetr)>0 GROUP BY Total_days ORDER BY Total_days; ","1"
"67","individuals with 50. birthdate this year or next year","individuals with 50. birthdate this year or next year ","52","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=49 OR YEAR(CURDATE())-YEAR(birthdatetr)=50) AND living=1 ORDER BY birthdatetr, lastname, firstname","1"
"68","individuals with 60. birthdate this year or next year","individuals with 60. birthdate this year or next year ","53","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=59 OR YEAR(CURDATE())-YEAR(birthdatetr)=60) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"69","individuals with 65. birthdate this year or next year","individuals with 65. birthdate this year or next year ","54","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Jahre, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=64 OR YEAR(CURDATE())-YEAR(birthdatetr)=65) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"70","individuals with 70. birthdate this year or next year","individuals with 70. birthdate this year or next year ","55","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=69 OR YEAR(CURDATE())-YEAR(birthdatetr)=70) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"71","individuals with 75. birthdate this year or next year","individuals with 75. birthdate this year or next year ","56","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=74 OR YEAR(CURDATE())-YEAR(birthdatetr)=75) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"72","individuals with 80. birthdate this year or next year","individuals with 80. birthdate this year or next year ","57","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=79 OR YEAR(CURDATE())-YEAR(birthdatetr)=80) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"73","individuals with 85. birthdate this year or next year","individuals with 85. birthdate this year or next year ","58","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=84 OR YEAR(CURDATE())-YEAR(birthdatetr)=85) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"74","individuals with 90. birthdate this year or next year","individuals with 90. birthdate this year or next year ","59","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=89 OR YEAR(CURDATE())-YEAR(birthdatetr)=90) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"75","individuals with 100. birthdate this year or next year","individuals with 100. birthdate this year or next year ","61","","","","SELECT personID, lastname, firstname, YEAR(CURDATE())-YEAR(birthdatetr) AS Years, birthdate, birthplace, living, gedcom FROM tng_people WHERE (YEAR(CURDATE())-YEAR(birthdatetr)=99 OR YEAR(CURDATE())-YEAR(birthdatetr)=100) AND living=1 ORDER BY birthdatetr, lastname, firstname; ","1"
"76","individuals, by place of birth","individuals, sorted by place of birth","62","","","","SELECT birthplace, personID, lastname, firstname, birthdate, altbirthdate, living, gedcom FROM tng_people WHERE birthplace<>\"\" ORDER BY birthplace, lastname, firstname; ","1"
"77","individuals, by place of baptism","individuals, by place of baptism ","63","","","","SELECT birthplace AS Place_name, personID, lastname, firstname, birthdate, altbirthdate, living, gedcom FROM tng_people WHERE birthplace<>\"\"
UNION
SELECT altbirthplace AS Place_name, personID, lastname, firstname, birthdate, altbirthdate, living, gedcom FROM tng_people WHERE altbirthplace<>\"\"
ORDER BY Place_name, lastname, firstname; ","1"
"78","individuals with and unclear date of death","individuals with and unclear date of death ","64","","","","SELECT personID, lastname, firstname, deathdate, burialdate, gedcom FROM tng_people WHERE
((UCASE(deathdate) LIKE \"%CA%\") OR
(UCASE(deathdate) LIKE \"%ERR%\") OR
(UCASE(deathdate) LIKE \"%VOR%\") OR
(UCASE(deathdate) LIKE \"%NACH%\") OR
(UCASE(deathdate) LIKE \"%ABT%\") OR
(UCASE(deathdate) LIKE \"%BEF%\") OR
(UCASE(deathdate) LIKE \"%AFT%\") OR DAYOFMONTH(deathdate)=0 OR MONTH(deathdate)=0)
ORDER BY lastname, firstname, personID; ","1"
"79","individuals: death frequency by century","individuals: death frequency by century, one = equals 100 people
Individuen: overlijdensgrafieken per eeuw, een = is 100 mensen","65","","","","SELECT 100*FLOOR(YEAR(deathdatetr)/100) AS since_year, (100*FLOOR(YEAR(deathdatetr)/100))+99 AS till_year, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/100,\'=\') AS Graphic FROM tng_people WHERE deathdatetr<>\'0000-00-00\' GROUP BY since_year ORDER BY since_year;","1"
"80","individuals: death frequency by decades","individuals: death frequency by decades one = equals 20 people Individuen: overlijdensgrafieken per 10 jaar, een = is 20 mensen","66","","","","SELECT 10*FLOOR(YEAR(deathdatetr)/10) AS since_year, (10*FLOOR(YEAR(deathdatetr)/10))+9 AS till_year, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/20,\'=\') AS Graphik FROM tng_people WHERE deathdatetr<>\'0000-00-00\' GROUP BY since_year ORDER BY since_year; ","1"
"81","individuals: death frequency by calendar months","individuals: death frequency by calendar months one = equals 50 people
Individuen: overlijdensgrafieken per kalendermaand, een = is 50 mensen","67","","","","SELECT MONTHNAME(deathdatetr) AS name_of_month_of_death, MONTH(deathdatetr) AS number_of_death_month, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_people WHERE MONTH(deathdatetr)>0 GROUP BY number_of_death_month; ","1"
"82","individuals: death frequency by day-of-week","individuals: death frequency by day-of-week one = equals 50 people
Individuen: overlijdensgrafieken per dag van de week, een = is 50 mensen","68","","","","SELECT DAYNAME(deathdatetr) AS name_of_day_of_death, DAYOFWEEK(deathdatetr) AS number_of_death_day, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphik FROM tng_people WHERE DAYOFWEEK(deathdatetr)>0 GROUP BY number_of_death_day; ","1"
"83","individuals: birth frequency by day-of-week","individuals: birth frequency by day-of-week one = equals 50 people Individuen: geboorte grafieken per dag van de week, een = is 50 mensen","66","","","","SELECT DAYNAME(birthdatetr) AS Name_of_birth_weekday , DAYOFWEEK(birthdatetr) AS Number_of_day_of_the_week, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_people WHERE DAYOFWEEK(birthdatetr)>0 GROUP BY Number_of_day_of_the_week; ","1"
"84","families with missing partners","families with missing partners ","69","","","","SELECT familyid, husband AS Husband_PersonID, wife AS EhefrauPersonID, marrdate, living, gedcom FROM tng_families WHERE ((husband LIKE \'I%\'=0) OR (husband=\'-\') OR (wife LIKE \'I%\'=0) OR (wife=\'-\')) ORDER BY familyID; ","1"
"88","families: marriage frequency by decades","families: marriage frequency by decades one = equals 10 people
Gezinnen: huwelijksgrafieken per eeuw, een = is 10 mensen","71","","","","SELECT 10*FLOOR(YEAR(marrdatetr)/10) AS since_year, 10*FLOOR(YEAR(marrdatetr)/10)+9 AS till_year, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/10,\'=\') AS Graphic FROM tng_families WHERE marrdatetr<>\'0000-00-00\' GROUP BY since_year ORDER BY since_year; ","1"
"89","families: marriage frequency by calendar month","families: marriage frequency by calendar month one = equals 50 people
Gezinnen: huwelijksgrafieken per kalendermaand, een = is 50 mensen","73","","","","SELECT MONTHNAME(marrdatetr) AS month_in_which_married, MONTH(marrdatetr) AS month_of_marriage_nr, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_families WHERE MONTH(marrdatetr)>0 GROUP BY month_of_marriage_nr; ","1"
"87","families: marriage frequency by century","families: marriage frequency by century one = equals 100 people
Gezinnen: huwelijksgrafieken per eeuw, een = is 100 mensen","70","","","","SELECT 100*FLOOR(YEAR(marrdatetr)/100) AS since_year, 100*FLOOR(YEAR(marrdatetr)/100)+99 AS till_year, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/100,\'=\') AS Graphic FROM tng_families WHERE marrdatetr<>\'0000-00-00\'GROUP BY since_year ORDER BY since_year;","1"
"90","families: marriage frequency by day-of-week","families: marriage frequency by day-of-week one = equals 50 people
Gezinnen: huwelijksgrafieken per dag van de week, een = is 50 mensen","72","","","","SELECT DAYNAME(marrdatetr) AS day_of_marriage, DAYOFWEEK(marrdatetr) AS number_of_the_week, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_families WHERE DAYOFWEEK(marrdatetr)>0 GROUP BY number_of_the_week; ","1"
"91","individuals married with age <= 18 years","individuals married with age <= 18 years and marriage date AFTER 1785
(before 1785 there are too many people in the database who where married at a too young age, notably nobility)","74","","","","SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS marriage_a_g_e_, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE (f.marrdatetr-p.birthdatetr>0) AND (YEAR(f.marrdatetr)-YEAR(p.birthdatetr)<=18) and YEAR(p.birthdatetr)>1785
UNION
SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS marriage_a_g_e_, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE (f.marrdatetr-p.birthdatetr>0) and YEAR(p.birthdatetr)>1785 AND (YEAR(f.marrdatetr)-YEAR(p.birthdatetr)<=18) ORDER BY marriage_a_g_e_, lastname, firstname, personID; ","1"
"92","individuals married with age >= 80 years","individuals married with age >= 80 years","75","","","","SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE YEAR(p.birthdatetr)>0 AND f.marrdatetr-p.birthdatetr>0 AND YEAR(f.marrdatetr)-YEAR(p.birthdatetr)>=80
UNION
SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE YEAR(p.birthdatetr)>0 AND f.marrdatetr-p.birthdatetr>0 AND YEAR(f.marrdatetr)-YEAR(p.birthdatetr)>=80 ORDER BY Heiratsalter, lastname, firstname, personID; ","1"
"93","families: individuals with marriage date *before* birthdate","families: individuals with marriage date *before* birthdate ","77","","","","SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE YEAR(p.birthdatetr)>0 AND YEAR(f.marrdatetr)>0 AND f.marrdatetr-p.birthdatetr<0
UNION
SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, f.marrdate, p.deathdate, f.familyID, YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, p.living, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE YEAR(p.birthdatetr)>0 AND YEAR(f.marrdatetr)>0 AND f.marrdatetr-p.birthdatetr<0 ORDER BY Heiratsalter, lastname, firstname, personID;","1"
"94","families: individual with marriage date *after* death date","families: individual with marriage date *after* death date ","76","","","","SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, p.deathdate, f.marrdate, f.familyID, YEAR(p.deathdatetr)-YEAR(f.marrdatetr) AS Jahresdifferenz, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE YEAR(p.deathdatetr)>0 AND YEAR(f.marrdatetr)>0 AND f.marrdatetr>p.deathdatetr
UNION
SELECT p.personID, p.lastname, p.firstname, p.sex, p.birthdate, p.deathdate, f.marrdate, f.familyID, YEAR(p.deathdatetr)-YEAR(f.marrdatetr) AS Jahresdifferenz, f.gedcom FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE YEAR(p.deathdatetr)>0 AND YEAR(f.marrdatetr)>0 AND f.marrdatetr>p.deathdatetr ORDER BY Jahresdifferenz, lastname, firstname, personID; ","1"
"95","families: frequency distribution of marriage age, by year","families: frequency distribution of marriage age,
Gezinnen: huwelijksgrafieken per huwelijksleeftijd","78","","","","SELECT YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, COUNT(*) AS Anzahl FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY Heiratsalter
UNION
SELECT YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS Heiratsalter, COUNT(*) AS Anzahl FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY Heiratsalter ORDER BY Heiratsalter; ","1"
"96","families: frequency distribution of wife\'s marriage age, by year","families: frequency distribution of wife\'s marriage age, by year one = equals 50 people
Gezinnen: huwelijksgrafieken per huwelijksleeftijd van de vrouw, een = is 50 mensen","79","","","","SELECT YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS age_of_marriage, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphik FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY age_of_marriage ORDER BY age_of_marriage; ","1"
"97","families: frequency distribution of husband\'s marriage age, by year","families: frequency distribution of husband\'s marriage age, by year one = equals 50 people
Gezinnen: huwelijksgrafieken per huwelijksleeftijd van de man, een = is 50 mensen","80","","","","SELECT YEAR(f.marrdatetr)-YEAR(p.birthdatetr) AS age_at_marriage, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY age_at_marriage ORDER BY age_at_marriage; ","1"
"98","families: frequency distribution of wife\'s marriage age, by 5-year-steps","families: frequency distribution of wife\'s marriage age, by 5-year-steps one = equals 50 people
Gezinnen: huwelijksgrafieken van de vrouw\'s huwelijksleeftijd met 5 jaar stappen, een = is 50 mensen","81","","","","SELECT 5*FLOOR((YEAR(f.marrdatetr)-YEAR(p.birthdatetr))/5) AS married_age_from, 5*FLOOR((YEAR(f.marrdatetr)-YEAR(p.birthdatetr))/5)+4 AS married_age_till, COUNT(*) AS Total, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphic FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.wife WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY married_age_from ORDER BY married_age_from; ","1"
"99","families: frequency distribution of husband\'s marriage age, by 5-year-steps","families: frequency distribution of husband\'s marriage age, by 5-year-steps one = equals 50 people
Gezinnen: huwelijksgrafieken van de man\'s huwelijksleeftijd met 5 jaar stappen, een = is 50 mensen","82","","","","SELECT 5*FLOOR((YEAR(f.marrdatetr)-YEAR(p.birthdatetr))/5) AS age_of_marriage_since, 5*FLOOR((YEAR(f.marrdatetr)-YEAR(p.birthdatetr))/5)+4 AS age_of_marriage_till, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/50,\'=\') AS Graphik FROM tng_people AS p LEFT JOIN tng_families AS f ON p.personID=f.husband WHERE p.birthdatetr>0 AND f.marrdatetr-p.birthdatetr>0 GROUP BY age_of_marriage_since ORDER BY age_of_marriage_since; ","1"
"100"," families: occuring marriage types without names (but with frequency)"," families: occuring marriage types without names (but with frequency) one = equals 5 people
Gezinnen: \"typen huwelijk\" zonder namen maar met aantallen, een = is 5 mensen","83","","","","SELECT marrtype AS marriage_type, COUNT(*) AS Totals, RPAD(\'\',COUNT(*)/5,\'=\') AS Graphic FROM tng_families WHERE marrtype<>\'\' GROUP BY marrtype ORDER BY marrtype;","1"
"105","Same sex marriages","","84","","","","SELECT f.familyID, h.personID, h.lastname AS Nachname1, h.firstname AS Vorname1, h.sex AS Geschlecht1, w.personID, w.lastname AS Nachname2, w.firstname AS Vorname2, w.sex AS Geschlecht2, f.living, f.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID LEFT JOIN tng_people AS w ON f.wife=w.personID WHERE h.sex=w.sex ORDER BY familyID; ","1"
"106","Families sorted according to number of children","","85","","","","SELECT COUNT(*) AS Kinderzahl, f.familyID, h.personID, h.lastname AS Nachname, h.firstname AS Vorname, h.birthdate, h.deathdate, f.living, f.gedcom FROM tng_children AS c INNER JOIN tng_families AS f ON (c.familyID=f.familyID AND c.gedcom=f.gedcom) INNER JOIN tng_people AS h ON (f.husband=h.personID AND f.gedcom=h.gedcom) WHERE h.personID<>\"\" GROUP BY h.personID
UNION
SELECT COUNT(*) AS Kinderzahl, f.familyID, w.personID, w.lastname AS Nachname, w.firstname AS Vorname, w.birthdate, w.deathdate, f.living, f.gedcom FROM tng_children AS c INNER JOIN tng_families AS f ON (c.familyID=f.familyID AND c.gedcom=f.gedcom) INNER JOIN tng_people AS w ON (f.wife=w.personID AND f.gedcom=w.gedcom) WHERE w.personID<>\"\" GROUP BY w.personID
ORDER BY Kinderzahl DESC, familyID, Nachname, Vorname; ","1"
"107"," individuals with missing father or missing mother"," individuals with missing father or missing mother ","86","","","","SELECT p.personID, p.lastname, p.firstname, p.birthdate, p.living, father.personID AS VaterNr, father.lastname AS Name1, father.firstname AS Vorname1, father.living, mother.personID AS MutterNr, mother.lastname AS Name2, mother.firstname AS Vorname2, mother.living, p.gedcom FROM tng_children AS c LEFT JOIN tng_families AS f ON c.familyID=f.familyID LEFT JOIN tng_people AS p ON c.personID=p.personID LEFT JOIN tng_people AS mother ON f.wife=mother.personID LEFT JOIN tng_people AS father ON f.husband=father.personID WHERE f.husband=\"\" OR f.wife=\"\" ORDER BY p.lastname, p.firstname, p.birthdatetr; ","1"
"108","Incomplete families","Families where husband or wife is missing","87","","","","SELECT familyid, husband AS EhemannPersonID, wife AS EhefrauPersonID, marrdate, living, gedcom FROM tng_families WHERE (husband LIKE \'I%\'=0) OR (husband=\'-\') OR (wife LIKE \'I%\'=0) OR (wife=\'-\') ORDER BY familyID; ","1"
"109","Individuals (not: families!) with number of associated children","Individuals (not: families!) with number of associated children ","88","","","","SELECT COUNT(*) AS Kinderzahl, f.familyID, h.personID, h.lastname AS Nachname, h.firstname AS Vorname, h.birthdate, h.deathdate, f.living, f.gedcom FROM tng_children AS c LEFT JOIN tng_families AS f ON c.familyID=f.familyID LEFT JOIN tng_people AS h ON f.husband=h.personID WHERE h.personID<>\"\" GROUP BY h.personID
UNION
SELECT COUNT(*) AS Kinderzahl, f.familyID, w.personID, w.lastname AS Nachname, w.firstname AS Vorname, w.birthdate, w.deathdate, f.living, f.gedcom FROM tng_children AS c LEFT JOIN tng_families AS f ON c.familyID=f.familyID LEFT JOIN tng_people AS w ON f.wife=w.personID WHERE w.personID<>\"\" GROUP BY w.personID
ORDER BY Kinderzahl DESC, Nachname, Vorname, familyID; ","1"
"110","Families: twins, triplets..","Families: twins, triplets..","89","","","","SELECT c.familyID, p.personID, p.lastname, p.firstname, p.birthdate, p.birthplace, p.living, COUNT(c.familyID) AS Anzahl, p.gedcom FROM tng_children AS c INNER JOIN tng_people AS p ON p.personID=c.personID INNER JOIN tng_children AS c2 ON c2.familyID=c.familyID INNER JOIN tng_people AS p2 ON p2.personID=c2.personID WHERE (p2.birthdatetr=p.birthdatetr OR p2.birthdatetr=DATE_ADD(p.birthdatetr, INTERVAL 1 DAY) OR p2.birthdatetr=DATE_SUB(p.birthdatetr, INTERVAL 1 DAY)) AND YEAR(p.birthdatetr)<>0 AND MONTH(p.birthdatetr)<>0 AND DAYOFMONTH(p.birthdatetr)<>0 GROUP BY c.familyID, p.personID, p.birthdatetr HAVING COUNT(c2.familyID)>=2 ORDER BY p.lastname, c.familyID, p.birthdatetr; ","1"
"111","Families: Twins","Families: Twins ","90","","","","SELECT c.familyID, p.personID, p.lastname, p.firstname, p.birthdate, p.birthplace, p.living, p.gedcom FROM tng_children AS c INNER JOIN tng_people AS p ON p.personID=c.personID INNER JOIN tng_children AS c2 ON c2.familyID=c.familyID INNER JOIN tng_people AS p2 ON p2.personID=c2.personID WHERE (p2.birthdatetr=p.birthdatetr OR p2.birthdatetr=DATE_ADD(p.birthdatetr, INTERVAL 1 DAY) OR p2.birthdatetr=DATE_SUB(p.birthdatetr, INTERVAL 1 DAY)) AND YEAR(p.birthdatetr)<>0 AND MONTH(p.birthdatetr)<>0 AND DAYOFMONTH(p.birthdatetr)<>0 GROUP BY c.familyID, p.personID, p.birthdatetr HAVING COUNT(c2.familyID)=2 ORDER BY p.lastname, c.familyID, p.birthdatetr; ","1"
"112","families, ordered by husband\'s name","families, ordered by husband\'s name ","91","","","","SELECT familyID, h.personID AS EhemannPersonID, h.lastname AS Nachname1, h.firstname AS Vorname1, w.personID AS EhefrauPersonID, w.lastname AS Nachname2, w.firstname AS Vorname2, f.living, f.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID LEFT JOIN tng_people AS w ON f.wife=w.personID ORDER BY h.lastname, h.firstname, h.personID, w.firstname, w.lastname, w.personID; ","1"
"113","families, ordered by wife\'s maiden name","families, ordered by wife\'s maiden name ","92","","","","SELECT familyID, w.personID AS EhefrauPersonID, w.lastname AS Nachname1, w.firstname AS Vorname1, h.personID AS EhemannPersonID, h.lastname As Nachname2, h.firstname AS Vorname2, f.living, f.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID LEFT JOIN tng_people AS w ON f.wife=w.personID ORDER BY w.lastname, w.firstname, w.personID, h.lastname, h.firstname, h.personID; ","1"
"114","families: husbands","families: husbands ","93","","","","SELECT familyID, marrdate, h.personID, h.lastname, h.firstname, h.birthdate, h.living, h.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID ORDER BY h.lastname, h.firstname, h.personID; ","1"
"115","families: marriage types with individuals (with personIDs *and* names)","families: marriage types with individuals (with personIDs *and* names) ","94","","","","SELECT marrtype AS Verbindungsart, familyID, marrdate, h.personID AS EhemannPersonID, h.lastname AS Nachname1, h.firstname AS Vorname1, w.personID AS EhefrauPersonID, w.lastname AS Nachname2, w.firstname AS Vorname2, f.living, f.gedcom FROM tng_families AS f LEFT JOIN tng_people AS h ON f.husband=h.personID LEFT JOIN tng_people AS w ON f.wife=w.personID WHERE f.marrtype<>\'\' ORDER BY f.marrtype, h.lastname, h.firstname, h.personID; ","1"
"116","families: wifes","families: wifes ","95","","","","SELECT familyID, marrdate, w.personID, w.lastname, w.firstname, w.birthdate, w.living, w.gedcom FROM tng_families AS f
LEFT JOIN tng_people AS w ON (f.wife=w.personID AND f.gedcom=w.gedcom)
ORDER BY w.lastname, w.firstname, w.personID; ","1"
"117","Families: individuals with missing father or missing mother","Families: individuals with missing father or missing mother ","96","","","","SELECT p.personID, p.lastname, p.firstname, p.birthdate, p.living, father.personID AS VaterNr, father.lastname AS Name1, father.firstname AS Vorname1, father.living, mother.personID AS MutterNr, mother.lastname AS Name2, mother.firstname AS Vorname2, mother.living, p.gedcom FROM tng_children AS c
LEFT JOIN tng_families AS f ON (c.familyID=f.familyID AND c.gedcom=f.gedcom)
LEFT JOIN tng_people AS p ON (c.personID=p.personID AND c.gedcom=p.gedcom)
LEFT JOIN tng_people AS mother ON (f.wife=mother.personID AND f.gedcom=mother.gedcom)
LEFT JOIN tng_people AS father ON (f.husband=father.personID AND f.gedcom=father.gedcom)
WHERE f.husband=\"\" OR f.wife=\"\" ORDER BY p.lastname, p.firstname, p.birthdate","1"
"119","Faulty birth, baptism, death and burial APROXIMATE dates, e.g. abt1988","foute geschatte datums bijv, abt1988 (geen spatie)
Kijkt alleen naar geboorte, doop, overlijdens en begraaf datums. ","117","","","","SELECT personID, lastname, firstname, birthdate, altbirthdate, deathdate, burialdate, living, gedcom FROM tng_people WHERE
(
(UCASE(birthdate) LIKE \"%CAL1%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%ERR1%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%BEF1%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%AFT1%\" AND birthdate<>\"\") OR
(UCASE(birthdate) LIKE \"%ABT1%\" AND birthdate<>\"\") OR
(UCASE(altbirthdate) LIKE \"%CAL1%\" AND altbirthdate<>\"\") OR
(UCASE(altbirthdate) LIKE \"%ERR1%\" AND altbirthdate<>\"\") OR
(UCASE(altbirthdate) LIKE \"%BEF1%\" AND altbirthdate<>\"\") OR
(UCASE(altbirthdate) LIKE \"%AFT1%\" AND altbirthdate<>\"\") OR
(UCASE(altbirthdate) LIKE \"%ABT1%\" AND altbirthdate<>\"\") OR
(UCASE(deathdate) LIKE \"%CAL1%\" AND deathdate<>\"\") OR
(UCASE(deathdate) LIKE \"%ERR1%\" AND deathdate<>\"\") OR
(UCASE(deathdate) LIKE \"%BEF1%\" AND deathdate<>\"\") OR
(UCASE(deathdate) LIKE \"%AFT1%\" AND deathdate<>\"\") OR
(UCASE(deathdate) LIKE \"%ABT1%\" AND deathdate<>\"\") OR
(UCASE(burialdate) LIKE \"%CAL1%\" AND burialdate<>\"\") OR
(UCASE(burialdate) LIKE \"%ERR1%\" AND burialdate<>\"\") OR
(UCASE(burialdate) LIKE \"%BEF1%\" AND burialdate<>\"\") OR
(UCASE(burialdate) LIKE \"%ABT1%\" AND burialdate<>\"\") OR
(UCASE(burialdate) LIKE \"%AFT1%\" AND burialdate<>\"\")) AND birthdate <> \"y\"
ORDER BY lastname, firstname, personID; ","1"
"121","individuals: number of days between birth and death","individuals: number of days between birthday and death
individuen: aantal dagen tussen verjaardag en overlijden","98","","","","SELECT personID, lastname, firstname, birthdate, deathdate, ABS(TO_DAYS(deathdatetr)-TO_DAYS(birthdatetr)) AS Number_of_days, living, gedcom FROM tng_people WHERE birthdate<>\"\" AND deathdate<>\"\" AND DAYOFMONTH(deathdatetr)>0 AND DAYOFMONTH(birthdatetr)>0 ORDER BY ABS(TO_DAYS(deathdatetr)-TO_DAYS(birthdatetr)) DESC, lastname, firstname, birthdatetr;
","1"
"122","birthday to death, one = equals 10 people","individuals: frequency distribution of days from birthday to death, one = equals 10 people
Individuen: grafiek van de verdeling van dagen tussen verjaardig en overlijden, een = is 10 mensen","99","","","","SELECT IF(ABS(DAYOFYEAR(deathdatetr)-DAYOFYEAR(birthdatetr))< 184,
TRUNCATE(ABS(DAYOFYEAR(deathdatetr)-DAYOFYEAR(birthdatetr))/7,0),
TRUNCATE((366-ABS(DAYOFYEAR(deathdatetr)-DAYOFYEAR(birthdatetr)))/7,0))
AS Difference_in_weeks, COUNT(*) AS Number, RPAD(\'\',COUNT(*)/5,\'=\') AS Stastistic FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>0 AND DAYOFYEAR(deathdatetr)<>0 GROUP BY Difference_in_weeks ORDER BY Difference_in_weeks; ","1"
"124","Dagen verschil tussen dood en leven","/ Individuals: frequency distribution of difference (in \"absolute\" weeks) between day/month of birth and day/month of death ","101","","","","SELECT IF(ABS(WEEK(deathdatetr,3)-WEEK(birthdatetr,3)) < 27,
ABS(WEEK(deathdatetr,3)-WEEK(birthdatetr,3)),53-ABS(WEEK(deathdatetr,3)-WEEK(birthdatetr,3)))
AS DifferenzWochen, COUNT(*) AS Anzahl, RPAD(\'\',COUNT(*)/5,\'=\') AS
Graphik FROM tng_people WHERE DAYOFYEAR(birthdatetr)<>0 AND
DAYOFYEAR(deathdatetr)<>0 GROUP BY DifferenzWochen ORDER BY DifferenzWochen","1"
"125","DE WET VAN TWAALF","