Query returning nothing
问题 My query is as follows: Select h.ord_no from sales_history_header h INNER JOIN sales_history_detail d ON d.NUMBER = h.NUMBER WHERE d.COMMENTS LIKE '%3838CS%' And I get no results as shown here : But I should get results because : I ran the query: Select NUMBER, Comments from SALES_HISTORY_DETAIL WHERE NUMBER LIKE '%0000125199%' and got this (As you can see there's a comment field with 3838CS contained in it) : And ran this query: Select NUMBER, Ord_No from "SALES_HISTORY_HEADER" WHERE NUMBER