Skip to content

Commit 393d0a5

Browse files
committed
MySQL Queries
1 parent 04055fe commit 393d0a5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

mysql-queries.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11

22
## MySQL Queries
33

4+
#### Basic Keywords
5+
6+
|Sl.No |Keyword | Description |
7+
|------|----------|---------------------------------------------------|
8+
| 01. |SELECT |Used to state which columns to query. Use * for all|
9+
| 02. |FROM |Declares which table/view etc to select from|
10+
| 03. |WHERE |Introduces a condition|
11+
| 04. |= |Used for comparing a value to a specified input|
12+
| 05. |LIKE |Special operator used with the WHERE clause to search for a specific pattern in a column|
13+
| 06. |GROUP BY |Arranges identical data into groups|
14+
| 07. |HAVING |Specifies that only rows where aggregate values meet the specified conditions should be returned. Used because the WHERE keyword cannot be used with aggregate functions|
15+
| 08. |INNER JOIN|Returns all rows where key record of one table is equal to key records of another|
16+
| 09. |LEFT JOIN |Returns all rows from the ‘left’ (1st) table with the matching rows in the right (2nd)|
17+
| 10. |RIGHT JOIN|Returns all rows from the ‘right’ (2nd) table with the matching rows in the left (1st)|
18+
| 11. |FULL OUTER JOIN|Returns rows that match either in the left or right table|

0 commit comments

Comments
 (0)