DQL query to fetch hosts via ostype

thank you so much, can you let me know how to filterout ec2 instances?  and also how to avoid names that has “db” in them