diff --git a/doc/FAQ b/doc/FAQ
index 30754301456f7a32cce210b10729f0efea96ccd5..6578a811031369d0edc2a15c33f1a989a8455320 100644
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -974,7 +974,7 @@ SELECT *
     SELECT tab1.col1, NULL
     FROM tab1
     WHERE tab1.col1 NOT IN (SELECT tab2.col1 FROM tab2)
-    ORDER BY tab1.col1
+    ORDER BY col1
      _________________________________________________________________
    
                             Extending PostgreSQL
diff --git a/doc/src/FAQ/FAQ.html b/doc/src/FAQ/FAQ.html
index 420754e2e6ffc8b0b52b634c043dc47cf4dcd6c8..4cd94ab4c41a4898c6c0e4ec4fc8b56d099f65d3 100644
--- a/doc/src/FAQ/FAQ.html
+++ b/doc/src/FAQ/FAQ.html
@@ -1258,7 +1258,7 @@ or
     SELECT tab1.col1, NULL
     FROM tab1
     WHERE tab1.col1 NOT IN (SELECT tab2.col1 FROM tab2)
-    ORDER BY tab1.col1
+    ORDER BY col1
 </PRE>
     <HR>