From c1efb7f3f487be49f9d310d805bbceec31085da0 Mon Sep 17 00:00:00 2001 From: Siara <108543037+SiaraMist@users.noreply.github.com> Date: Thu, 8 Dec 2022 16:12:59 -0800 Subject: [PATCH] Update introduction-to-ql.rst --- .../writing-codeql-queries/introduction-to-ql.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/codeql/writing-codeql-queries/introduction-to-ql.rst b/docs/codeql/writing-codeql-queries/introduction-to-ql.rst index 349dcf50b00..ccccd413453 100644 --- a/docs/codeql/writing-codeql-queries/introduction-to-ql.rst +++ b/docs/codeql/writing-codeql-queries/introduction-to-ql.rst @@ -61,12 +61,6 @@ Write a query which returns the length of the string ``"lgtm"``. (Hint: `here `__ -There is often more than one way to define a query. For example, we can also write the above query in the shorter form: - -.. code-block:: ql - - select "lgtm".length() - Exercise 2 - Numbers ~~~~~~~~~~~~~~~~~~~~ @@ -182,6 +176,12 @@ Exercise 1 from string s where s = "lgtm" select s.length() + +There is often more than one way to define a query. For example, we can also write the above query in the shorter form: + +.. code-block:: ql + + select "lgtm".length() Exercise 2 ~~~~~~~~~~