Database: Getting Started
* Introduction
* Configuration
* Read & Write Connections
* Using Multiple Database Connections
* Running Raw SQL Queries
* Listening For Query Events
* Database Transactions
Drupal makes interacting with databases extremely simple across a variety of
database backends using either raw SQL, the Database API, and theEntity API
[https://www.drupal.org/docs/