From 1eb5a9c49d8f5980524404a34c2a8d0ee83ffecf Mon Sep 17 00:00:00 2001 From: Siddharth Vijay Sai <67595252+SiddharthSai4701@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:13:48 +0530 Subject: [PATCH] Fix typos in the SQL Roadmap (#5365) Updated the row query definition. Row queries can return not just one but multiple rows. --- src/data/roadmaps/sql/content/107-sub-queries/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/roadmaps/sql/content/107-sub-queries/index.md b/src/data/roadmaps/sql/content/107-sub-queries/index.md index b1f8e768a..07cf8a35f 100644 --- a/src/data/roadmaps/sql/content/107-sub-queries/index.md +++ b/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'); ``` -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 SELECT * FROM student @@ -57,4 +57,4 @@ WHERE column_name OPERATOR ## 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. \ No newline at end of file +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.