diff --git a/frontend/src/metabase/query_builder/NativeQueryEditor.jsx b/frontend/src/metabase/query_builder/NativeQueryEditor.jsx
index 7397d7491145656a4fefbd53c57b2ebca7c291fe..79af1578aa1a3b8b237ec34b381e7c5a785b9ccb 100644
--- a/frontend/src/metabase/query_builder/NativeQueryEditor.jsx
+++ b/frontend/src/metabase/query_builder/NativeQueryEditor.jsx
@@ -199,9 +199,9 @@ export default class NativeQueryEditor extends Component {
 
         let modeInfo = getModeInfo(this.props.query, this.props.databases);
 
-        // we only render a db selector if there are actually multiple to choose from
         let dataSelectors = [];
-        if (this.state.showEditor && this.props.nativeDatabases && (this.props.nativeDatabases.length > 1 || modeInfo.requiresTable)) {
+        if (this.state.showEditor && this.props.nativeDatabases) {
+            // we only render a db selector if there are actually multiple to choose from
             if (this.props.nativeDatabases.length > 1) {
                 dataSelectors.push(
                     <div key="db_selector" className="GuiBuilder-section GuiBuilder-data flex align-center">
@@ -213,6 +213,10 @@ export default class NativeQueryEditor extends Component {
                         />
                     </div>
                 )
+            } else {
+                dataSelectors.push(
+                    <span className="p2 text-bold text-grey">{this.props.nativeDatabases[0].name}</span>
+                );
             }
             if (modeInfo.requiresTable) {
                 let databases = this.props.nativeDatabases,