Fix typos in the SQL Roadmap (#5365)

Updated the row query definition. Row queries can return not just one but multiple rows.
feat/open-graph^2
Siddharth Vijay Sai 8 months ago committed by GitHub
parent c3a61e7f34
commit 1eb5a9c49d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/data/roadmaps/sql/content/107-sub-queries/index.md

@ -33,7 +33,7 @@ WHERE column_name OPERATOR
WHERE roll_id = (SELECT roll_id FROM student WHERE name='John'); WHERE roll_id = (SELECT roll_id FROM student WHERE name='John');
``` ```
2. **Row subquery**: It returns single row of two or more values. 2. **Row subquery**: It returns a single row or multiple rows of two or more values.
```sql ```sql
SELECT * FROM student SELECT * FROM student
@ -57,4 +57,4 @@ WHERE column_name OPERATOR
## General Note ## General Note
Subqueries can be either correlated or uncorrelated. A correlated subquery is a subquery that uses values from the outer query. Conversely, an uncorrelated subquery is a subquery that can be run independently of the outer query. Subqueries can be either correlated or uncorrelated. A correlated subquery is a subquery that uses values from the outer query. Conversely, an uncorrelated subquery is a subquery that can be run independently of the outer query.

Loading…
Cancel
Save