Update introduction-to-ql.rst

This commit is contained in:
Siara
2022-12-08 16:12:59 -08:00
committed by GitHub
parent 986c15cd08
commit c1efb7f3f4

View File

@@ -61,12 +61,6 @@ Write a query which returns the length of the string ``"lgtm"``. (Hint: `here <h
`Check your answer <#exercise-1>`__
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
~~~~~~~~~~