more database thinking