You could run 2 queries - one for "Table1" and one for "Table2". Then, you could compare the fields returned. Of course, you would have to use some sort of ID so you get a single field value and not the whole column. Then you can just output something based on the results.
So it would be something like:
Code:
<cfquery name="GetTable1" datasource="ds">
SELECT field_one
FROM table1
Where id = theidyouwant
</cfquery>
<cfquery name="GetTable2" datasource="ds">
SELECT field_one
FROM table2
Where id = theidyouwant
</cfquery>
<cfif GetTable1.field_one eq GetTable2.field_one>
Correct!
<cfelse>
Incorrect :(
</cfif>
Bookmarks