diff --git a/addon/hint/sql-hint.js b/addon/hint/sql-hint.js
index f5ec2cac1fb044b48d2a32bf4b11f5da0aa46dd2..5600c8390dc8b85d42626eea9d6b029532bf84bc 100644
--- a/addon/hint/sql-hint.js
+++ b/addon/hint/sql-hint.js
@@ -273,8 +273,8 @@
     if (search.charAt(0) == "." || search.charAt(0) == identifierQuote) {
       start = nameCompletion(cur, token, result, editor);
     } else {
-      addMatches(result, search, tables, function(w) {return w;});
       addMatches(result, search, defaultTable, function(w) {return w;});
+      addMatches(result, search, tables, function(w) {return w;});
       if (!disableKeywords)
         addMatches(result, search, keywords, function(w) {return w.toUpperCase();});
     }