Skip to content

Commit 506b940

Browse files
Update sql.md
1 parent 5953417 commit 506b940

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

sql.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: SQL Cheatsheet
33
description: Contains syntaxes & examples to help new comers get comfortable with using SQL.
44
created: 2022-10-01
5-
updated: 2022-10-01
5+
updated: 2022-10-09
66
---
77

88
## Creation & Insertion
@@ -68,6 +68,14 @@ This can also be achieved by :
6868
```SQL
6969
SELECT ALL <column name> FROM <table name>
7070
```
71+
To get used to specify the number of records in return:
72+
73+
```SQL
74+
SELECT <column_name>
75+
FROM <table name>
76+
WHERE condition
77+
LIMIT number;
78+
```
7179

7280
To get all unique values from a column :
7381

0 commit comments

Comments
 (0)