.. _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.

- :ref:`Running CodeQL queries <running-codeql-queries>`: Guide to running queries as you try out the tutorials and start to develop your own queries.

.. toctree::
   :hidden:

   codeql-queries
   ql-tutorials
   running-codeql-queries
