diff --git a/core/tests/Drupal/KernelTests/Core/Database/SqlModeTest.php b/core/tests/Drupal/KernelTests/Core/Database/SqlModeTest.php
new file mode 100644
index 0000000000..1faff7cf64
--- /dev/null
+++ b/core/tests/Drupal/KernelTests/Core/Database/SqlModeTest.php
@@ -0,0 +1,31 @@
+<?php
+
+namespace Drupal\KernelTests\Core\Database;
+
+/**
+ * Tests compatibility of database drivers with various sql_mode options.
+ *
+ * @group Database
+ */
+class SqlModeTest extends DatabaseTestBase {
+
+  /**
+   * Tests quoting identifiers in queries.
+   */
+  public function testQuotingIdentifiers() {
+    // Use the table named an ANSI SQL reserved word with a column that is as
+    // well.
+    $result = $this->connection->query('SELECT [update] FROM {select}')->fetchObject();
+    $this->assertEquals('Update value 1', $result->update);
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function getDatabaseConnectionInfo() {
+    $info = parent::getDatabaseConnectionInfo();
+    $info['default']['init_commands']['sql_mode'] = "SET sql_mode = ''";
+    return $info;
+  }
+
+}
