Okay, so the dialog allways looks at the naming convention of the database and not the query. Well at least I know now.
(Since I use this site for testing I didn't use the naming convention lowercase/uppercase that serious. Its best to write the query with the same naming convention as the database)
Thank you very much for your help!