.. _writing-codeql-queries:

Writing CodeQL queries
======================

Get to know more about queries and learn some key query-writing skills by solving puzzles.

- :ref:`CodeQL queries <codeql-queries>`: CodeQL queries are used in code scanning analyses to find problems in source code, including potential security vulnerabilities.

- :ref:`QL tutorials <ql-tutorials>`: Solve puzzles to learn the basics of QL before you analyze code with CodeQL. The tutorials teach you how to write queries and introduce you to key logic concepts along the way.

.. toctree::
   :hidden:

   ql-tutorials
   codeql-queries
