Sources, Database query