Dag Aleidus, Het bepalen of iemands leeftijd deelbaar is door vijf het in computertalen "mod 5". De formule ziet er dan uit als x = mod 5 (13,14,15,16,17) = 15 Ook kun je zeggen als *leeftijd = (mod 5) stuur een kaartje*Zoek maar in de formule-vormen naar *mod*.
Groeten, Dick Op 5 april 2018 om 13:02 schreef Aleidus Aalderink <alei...@xs4all.nl>: > Beste mensen, > Voor een vrijwilligersorganisatie ben ik bezig een database op te zetten. > Hier stuit ik op een SQL query voor het bepalen van de leeftijd. > De lijst bevat de volgende velden: > Naam > Tvg = tussenvoegsel > Vltrs = Voorletters > Voornaam > Straatnaam > Huisnr. > Postcode > Plaats > Mobiel-1 > Mobiel-2 > Emailadres > Geb.datum opmaak dd-mm-jj > Huw.datum opmaak dd-mm-jj > > Jaarlijks willen we de mensen die 65, 70, 75, 80 enz verrassen. Hoe kan ik > dat bepalen. > > Nu heb ik met SQL het volgende > > SELECT "Voornaam", "Tvg", "Naam", "Geb.datum" FROM "AOW_lijst" ORDER BY > "Geb.datum" DESC > > Graag zie ik hier suggesties tot oplossing tegemoet. > > Alvast bedankt > > Aleidus > > -- > Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/nl/users/ > All messages sent to this list will be publicly archived and cannot be > deleted > -- Het moet kunnen! https://sites.google.com/site/dickstomp/ -- Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/nl/users/ All messages sent to this list will be publicly archived and cannot be deleted