Good morning, indeed the way to constrain your data in a list view has changed between Mendix versions 10.4.x and 10.5.0 . It looks like you are referring to one of the Learning Paths based on Mx 10.0.0 and it is advised to use the exact version that is mentioned in the Learning Path.
With the database constraint, you would only be able to select the attributes from the primary entity, which can also be achieved via an xpath.
Hi Seongho Kang,
The Learning paths are based on previous versions of mendix, as it is shown in below screenshot.
And when coming to newer versions, Constratints can only be added to the query using XPath.
By the way, both Database constraints and Xpath Constraint do the same task in querying.
So, what you are getting in the screen is right.