Jump to content
TNG Community

Report gives error code 404


wlie

Recommended Posts

I have a report that shows me all the people born between 1400 and 1500. The report works well, but when I try to click on the individual's ID the report shows error code 404.

SELECT tng_people.personID, firstname, lastname,birthdate,birthplace,deathdate,deathplace FROM (tng_people ) WHERE (LPAD(SUBSTRING_INDEX(birthdate, ' ', -1),4,'0') >= "1400" AND LPAD(SUBSTRING_INDEX(birthdate, ' ', -1),4,'0') < "1500") ORDER BY firstname,lastname, birthdate

screenshot-wlie.dk-2019.03.17-15-16-49.jpg

I'm definitely not an expert in SQL, so what have I done wrong.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...