Exécuter une requête SQL.

BASH
                    # wp db query {query_string}
wp db query "SELECT * FROM wp_posts"
# wp db query < {SQL file}
wp db query < file.sql