<!-- Provide a general summary of your proposed changes in the Title field above -->
### Description
Fixes #5839
(sorry, realized just now that an issue wasn't required)
### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)
-->
This pull request is:
- [x] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests. one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.
**Have a nice day!**
Closes: #5840
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5840
Pull-request-sha:
b6f6af929fab4dab771565f6373b0275acbca793
Change-Id: I0b4c9b2d893e8141ee1cd21742a9b111fe371bac
[...] (1, 1, 2, 2){stop}
[('spongebob',), ('sandy',)]
-Subuqery IN
+Subquery IN
~~~~~~~~~~~
Finally, the :meth:`_sql.ColumnOperators.in_` and :meth:`_sql.ColumnOperators.not_in`
The difference between using the :class:`_sql.TextualSelect` directly with
:meth:`_sql.Select.from_statement` versus making use of :func:`_sql.aliased`
-is that in the former case, no subuqery is produced in the resulting SQL.
+is that in the former case, no subquery is produced in the resulting SQL.
This can in some scenarios be advantageous from a performance or complexity
perspective.
~~~~~~~~~~~~~~~~~~
An UPDATE statement can make use of rows in other tables by using a
-:ref:`correlated subquery <tutorial_scalar_subquery>`. A subuqery may be used
+:ref:`correlated subquery <tutorial_scalar_subquery>`. A subquery may be used
anywhere a column expression might be placed::
>>> scalar_subq = (