Reversed database query for testing purposes