# Queries against table with table.field\_name != table.field\_name failing

**URL:** <https://community.cratedb.com/t/queries-against-table-with-table-field-name-table-field-name-failing/35>\
**Category:** CrateDB\
**Created:** [October 16, 2018, 4:36am UTC](https://community.cratedb.com/t/queries-against-table-with-table-field-name-table-field-name-failing/35 "2018-10-16T04:36:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterCR8](https://sea2.discourse-cdn.com/flex020/user_avatar/community.cratedb.com/petercr8/32/9_2.png) [@peterCR8](https://community.cratedb.com/u/peterCR8)\
**Post date:** [October 16, 2018, 4:36am UTC](https://community.cratedb.com/t/queries-against-table-with-table-field-name-table-field-name-failing/35/1 "2018-10-16T04:36:17Z")

</div>

CrateDB version: 2.1.5

JVM version: OpenJDK 1.8.0\_151

OS version / environment description: Ubuntu / AWS / Local SSD Raid-0

Problem description:  
On the (admittedly silly) query including the condition `posts.domain_id != posts.domain_id` I am seeing a significant number of timeout errors.

ex:

`(crate.client.exceptions.ConnectionError) No more Servers available, exception from last server: HTTPConnectionPool(host='api02.voicegraph.org', port=4200): Read timed out. (read timeout=30) [SQL: 'SELECT posts.id AS posts_id, posts.by_line AS posts_by_line FROM posts WHERE posts.domain_id != posts.domain_id AND posts.by_line IS NOT NULL AND posts.created_at > ?'] [parameters: ('2018-02-19T00:01:19.000000Z',)]`
