Skip to content
LEARN
Learn
Explore
Roadmaps
Paths
Organizations
Contact
Start Learning
Learn
SQL
Learn SQL
Databases
Complete SQL tutorial and reference dataset.
beginner
440 lessons
~9.35 hours
Start learning
Lessons
SQL Tutorial
· 46 lessons
01
SQL Tutorial
1 min
02
Introduction to SQL
2 min
03
SQL Syntax
3 min
04
SQL SELECT Statement
2 min
05
SQL SELECT DISTINCT Statement
2 min
06
SQL WHERE Clause
2 min
07
SQL ORDER BY Keyword
2 min
08
SQL AND Operator
2 min
09
SQL OR Operator
2 min
10
SQL NOT Operator
3 min
11
SQL INSERT INTO Statement
3 min
12
SQL NULL Values
2 min
13
SQL UPDATE Statement
4 min
14
SQL DELETE Statement
2 min
15
SQL SELECT TOP, LIMIT and FETCH FIRST
3 min
16
SQL Aggregate Functions
1 min
17
SQL MIN() Function
2 min
18
SQL MAX() Function
2 min
19
SQL COUNT() Function
2 min
20
SQL SUM() Function
2 min
21
SQL AVG() Function
2 min
22
SQL LIKE Operator
3 min
23
SQL Wildcards
3 min
24
SQL IN Operator
2 min
25
SQL BETWEEN Operator
2 min
26
SQL Aliases
3 min
27
SQL Joins
2 min
28
SQL INNER JOIN
2 min
29
SQL LEFT JOIN
2 min
30
SQL RIGHT JOIN
2 min
31
SQL FULL JOIN
2 min
32
SQL Self Join
1 min
33
SQL UNION Operator
2 min
34
SQL UNION ALL Operator
2 min
35
SQL GROUP BY Statement
2 min
36
SQL HAVING Clause
2 min
37
SQL EXISTS Operator
2 min
38
SQL ANY Operator
2 min
39
SQL ALL Operator
1 min
40
SQL SELECT INTO Statement
1 min
41
SQL INSERT INTO SELECT Statement
2 min
42
SQL CASE Expression
1 min
43
SQL NULL Functions
2 min
44
SQL Stored Procedures
3 min
45
SQL Comments
1 min
46
SQL Operators
2 min
SQL Database
· 20 lessons
47
SQL CREATE DATABASE Statement
1 min
48
SQL DROP DATABASE Statement
1 min
49
SQL BACKUP DATABASE Statement
1 min
50
SQL CREATE TABLE Statement
2 min
51
SQL DROP TABLE Statement
1 min
52
SQL ALTER TABLE Statement
4 min
53
SQL Constraints
1 min
54
SQL NOT NULL Constraint
1 min
55
SQL UNIQUE Constraint
1 min
56
SQL PRIMARY KEY Constraint
2 min
57
SQL FOREIGN KEY Constraint
2 min
58
SQL CHECK Constraint
1 min
59
SQL DEFAULT Constraint
1 min
60
SQL CREATE INDEX Statement
1 min
61
SQL AUTO INCREMENT Field
3 min
62
SQL Working With Dates
2 min
63
SQL Views
2 min
64
SQL Injection
2 min
65
SQL Parameters
1 min
66
SQL Prepared Statements
2 min
SQL References
· 373 lessons
67
SQL Data Types for MySQL, SQL Server, and MS Access
Reference
10 min
68
SQL Keywords Reference
Reference
5 min
69
SQL ADD Keyword
Reference
1 min
70
SQL ADD CONSTRAINT Keyword
Reference
1 min
71
SQL ALL Keyword
Reference
1 min
72
SQL ALTER Keyword
Reference
1 min
73
SQL ALTER COLUMN Keyword
Reference
1 min
74
SQL ALTER TABLE Keyword
Reference
1 min
75
SQL ALTER VIEW Keyword
Reference
1 min
76
SQL AND Keyword
Reference
1 min
77
SQL ANY Keyword
Reference
1 min
78
SQL AS Keyword
Reference
1 min
79
SQL ASC Keyword
Reference
1 min
80
SQL BACKUP DATABASE Keyword
Reference
1 min
81
SQL BETWEEN Keyword
Reference
1 min
82
SQL CASE Keyword
Reference
1 min
83
SQL CHECK Keyword
Reference
1 min
84
SQL COLUMN Keyword
Reference
1 min
85
SQL CONSTRAINT Keyword
Reference
1 min
86
SQL CREATE Keyword
Reference
2 min
87
SQL CREATE DATABASE Keyword
Reference
1 min
88
SQL CREATE INDEX Keyword
Reference
1 min
89
SQL CREATE OR REPLACE VIEW Keyword
Reference
1 min
90
SQL CREATE TABLE Keyword
Reference
1 min
91
SQL CREATE PROCEDURE Keyword
Reference
1 min
92
SQL CREATE UNIQUE INDEX Keyword
Reference
1 min
93
SQL CREATE VIEW Keyword
Reference
1 min
94
SQL DATABASE Keyword
Reference
1 min
95
SQL DEFAULT Keyword
Reference
1 min
96
SQL DELETE Keyword
Reference
1 min
97
SQL DESC Keyword
Reference
1 min
98
SQL SELECT DISTINCT Keyword
Reference
1 min
99
SQL DROP Keyword
Reference
2 min
100
SQL DROP COLUMN Keyword
Reference
1 min
101
SQL DROP CONSTRAINT Keyword
Reference
1 min
102
SQL DROP DATABASE Keyword
Reference
1 min
103
SQL DROP DEFAULT Keyword
Reference
1 min
104
SQL DROP INDEX Keyword
Reference
1 min
105
SQL DROP TABLE and TRUNCATE TABLE Keywords
Reference
1 min
106
SQL DROP VIEW Keyword
Reference
1 min
107
SQL EXEC Keyword
Reference
1 min
108
SQL EXISTS Keyword
Reference
1 min
109
SQL FOREIGN KEY Keyword
Reference
1 min
110
SQL FROM Keyword
Reference
1 min
111
SQL FULL OUTER JOIN Keyword
Reference
1 min
112
SQL GROUP BY Keyword
Reference
1 min
113
SQL HAVING Keyword
Reference
1 min
114
SQL IN Keyword
Reference
1 min
115
SQL INDEX Keyword
Reference
1 min
116
SQL INNER JOIN Keyword
Reference
1 min
117
SQL INSERT INTO Keyword
Reference
1 min
118
SQL INSERT INTO SELECT Keyword
Reference
1 min
119
SQL IS NULL Keyword
Reference
1 min
120
SQL IS NOT NULL Keyword
Reference
1 min
121
SQL JOIN Keyword
Reference
2 min
122
SQL LEFT JOIN Keyword
Reference
1 min
123
SQL LIKE Keyword
Reference
1 min
124
SQL SELECT TOP, LIMIT and ROWNUM Keywords
Reference
1 min
125
SQL NOT Keyword
Reference
1 min
126
SQL NOT NULL Keyword
Reference
1 min
127
SQL OR Keyword
Reference
1 min
128
SQL ORDER BY Keyword
Reference
1 min
129
SQL FULL OUTER JOIN Keyword
Reference
1 min
130
SQL PRIMARY KEY Keyword
Reference
2 min
131
SQL CREATE PROCEDURE Keyword
Reference
1 min
132
SQL RIGHT JOIN Keyword
Reference
1 min
133
SQL SELECT TOP, LIMIT and ROWNUM Keywords
Reference
1 min
134
SQL SELECT Keyword
Reference
1 min
135
SQL SELECT DISTINCT Keyword
Reference
1 min
136
SQL SELECT INTO Keyword
Reference
1 min
137
SQL SELECT TOP, LIMIT and ROWNUM Keywords
Reference
1 min
138
SQL SET Keyword
Reference
1 min
139
SQL TABLE Keyword
Reference
1 min
140
SQL SELECT TOP, LIMIT and ROWNUM Keywords
Reference
1 min
141
SQL DROP TABLE and TRUNCATE TABLE Keywords
Reference
1 min
142
SQL UNION Keyword
Reference
1 min
143
SQL UNION ALL Keyword
Reference
1 min
144
SQL UNIQUE Keyword
Reference
1 min
145
SQL UPDATE Keyword
Reference
1 min
146
SQL VALUES Keyword
Reference
1 min
147
SQL VIEW Keyword
Reference
1 min
148
SQL WHERE Keyword
Reference
1 min
149
MySQL Functions
Reference
9 min
150
MySQL ASCII() Function
Reference
1 min
151
MySQL CHAR_LENGTH() Function
Reference
1 min
152
MySQL CHARACTER_LENGTH() Function
Reference
1 min
153
MySQL CONCAT() Function
Reference
1 min
154
MySQL CONCAT_WS() Function
Reference
1 min
155
MySQL FIELD() Function
Reference
1 min
156
MySQL FIND_IN_SET() Function
Reference
1 min
157
MySQL FORMAT() Function
Reference
1 min
158
MySQL INSERT() Function
Reference
1 min
159
MySQL INSTR() Function
Reference
1 min
160
MySQL LCASE() Function
Reference
1 min
161
MySQL LEFT() Function
Reference
1 min
162
MySQL LENGTH() Function
Reference
1 min
163
MySQL LOCATE() Function
Reference
1 min
164
MySQL LOWER() Function
Reference
1 min
165
MySQL LPAD() Function
Reference
1 min
166
MySQL LTRIM() Function
Reference
1 min
167
MySQL MID() Function
Reference
2 min
168
MySQL POSITION() Function
Reference
1 min
169
MySQL REPEAT() Function
Reference
1 min
170
MySQL REPLACE() Function
Reference
1 min
171
MySQL REVERSE() Function
Reference
1 min
172
MySQL RIGHT() Function
Reference
1 min
173
MySQL RPAD() Function
Reference
1 min
174
MySQL RTRIM() Function
Reference
1 min
175
MySQL SPACE() Function
Reference
1 min
176
MySQL STRCMP() Function
Reference
1 min
177
MySQL SUBSTR() Function
Reference
2 min
178
MySQL SUBSTRING() Function
Reference
2 min
179
MySQL SUBSTRING_INDEX() Function
Reference
1 min
180
MySQL TRIM() Function
Reference
1 min
181
MySQL UCASE() Function
Reference
1 min
182
MySQL UPPER() Function
Reference
1 min
183
MySQL ABS() Function
Reference
1 min
184
MySQL ACOS() Function
Reference
1 min
185
MySQL ASIN() Function
Reference
1 min
186
MySQL ATAN() Function
Reference
1 min
187
MySQL ATAN2() Function
Reference
1 min
188
MySQL AVG() Function
Reference
1 min
189
MySQL CEIL() Function
Reference
1 min
190
MySQL CEILING() Function
Reference
1 min
191
MySQL COS() Function
Reference
1 min
192
MySQL COT() Function
Reference
1 min
193
MySQL COUNT() Function
Reference
1 min
194
MySQL DEGREES() Function
Reference
1 min
195
MySQL DIV Function
Reference
1 min
196
MySQL EXP() Function
Reference
1 min
197
MySQL FLOOR() Function
Reference
1 min
198
MySQL GREATEST() Function
Reference
1 min
199
MySQL LEAST() Function
Reference
1 min
200
MySQL LN() Function
Reference
1 min
201
MySQL LOG() Function
Reference
1 min
202
MySQL LOG10() Function
Reference
1 min
203
MySQL LOG2() Function
Reference
1 min
204
MySQL MAX() Function
Reference
1 min
205
MySQL MIN() Function
Reference
1 min
206
MySQL MOD() Function
Reference
1 min
207
MySQL PI() Function
Reference
1 min
208
MySQL POW() Function
Reference
1 min
209
MySQL POWER() Function
Reference
1 min
210
MySQL RADIANS() Function
Reference
1 min
211
MySQL RAND() Function
Reference
1 min
212
MySQL ROUND() Function
Reference
1 min
213
MySQL SIGN() Function
Reference
1 min
214
MySQL SIN() Function
Reference
1 min
215
MySQL SQRT() Function
Reference
1 min
216
MySQL SUM() Function
Reference
1 min
217
MySQL TAN() Function
Reference
1 min
218
MySQL TRUNCATE() Function
Reference
1 min
219
MySQL ADDDATE() Function
Reference
1 min
220
MySQL ADDTIME() Function
Reference
1 min
221
MySQL CURDATE() Function
Reference
1 min
222
MySQL CURRENT_DATE() Function
Reference
1 min
223
MySQL CURRENT_TIME() Function
Reference
1 min
224
MySQL CURRENT_TIMESTAMP() Function
Reference
1 min
225
MySQL CURTIME() Function
Reference
1 min
226
MySQL DATE() Function
Reference
1 min
227
MySQL DATEDIFF() Function
Reference
1 min
228
MySQL DATE_ADD() Function
Reference
1 min
229
MySQL DATE_FORMAT() Function
Reference
4 min
230
MySQL DATE_SUB() Function
Reference
1 min
231
MySQL DAY() Function
Reference
1 min
232
MySQL DAYNAME() Function
Reference
1 min
233
MySQL DAYOFMONTH() Function
Reference
1 min
234
MySQL DAYOFWEEK() Function
Reference
1 min
235
MySQL DAYOFYEAR() Function
Reference
1 min
236
MySQL EXTRACT() Function
Reference
1 min
237
MySQL FROM_DAYS() Function
Reference
1 min
238
MySQL HOUR() Function
Reference
1 min
239
MySQL LAST_DAY() Function
Reference
1 min
240
MySQL LOCALTIME() Function
Reference
1 min
241
MySQL LOCALTIMESTAMP() Function
Reference
1 min
242
MySQL MAKEDATE() Function
Reference
1 min
243
MySQL MAKETIME() Function
Reference
1 min
244
MySQL MICROSECOND() Function
Reference
1 min
245
MySQL MINUTE() Function
Reference
1 min
246
MySQL MONTH() Function
Reference
1 min
247
MySQL MONTHNAME() Function
Reference
1 min
248
MySQL NOW() Function
Reference
1 min
249
MySQL PERIOD_ADD() Function
Reference
1 min
250
MySQL PERIOD_DIFF() Function
Reference
1 min
251
MySQL QUARTER() Function
Reference
1 min
252
MySQL SECOND() Function
Reference
1 min
253
MySQL SEC_TO_TIME() Function
Reference
1 min
254
MySQL STR_TO_DATE() Function
Reference
4 min
255
MySQL SUBDATE() Function
Reference
1 min
256
MySQL SUBTIME() Function
Reference
1 min
257
MySQL SYSDATE() Function
Reference
1 min
258
MySQL TIME() Function
Reference
1 min
259
MySQL TIME_FORMAT() Function
Reference
2 min
260
MySQL TIME_TO_SEC() Function
Reference
1 min
261
MySQL TIMEDIFF() Function
Reference
1 min
262
MySQL TIMESTAMP() Function
Reference
1 min
263
MySQL TO_DAYS() Function
Reference
1 min
264
MySQL WEEK() Function
Reference
2 min
265
MySQL WEEKDAY() Function
Reference
1 min
266
MySQL WEEKOFYEAR() Function
Reference
1 min
267
MySQL YEAR() Function
Reference
1 min
268
MySQL YEARWEEK() Function
Reference
1 min
269
MySQL BIN() Function
Reference
1 min
270
MySQL BINARY Function
Reference
1 min
271
MySQL CASE Function
Reference
1 min
272
MySQL CAST() Function
Reference
2 min
273
MySQL COALESCE() Function
Reference
1 min
274
MySQL CONNECTION_ID() Function
Reference
1 min
275
MySQL CONV() Function
Reference
1 min
276
MySQL CONVERT() Function
Reference
2 min
277
MySQL CURRENT_USER() Function
Reference
1 min
278
MySQL DATABASE() Function
Reference
1 min
279
MySQL IF() Function
Reference
1 min
280
MySQL IFNULL() Function
Reference
1 min
281
MySQL ISNULL() Function
Reference
1 min
282
MySQL LAST_INSERT_ID() Function
Reference
1 min
283
MySQL NULLIF() Function
Reference
1 min
284
MySQL SESSION_USER() Function
Reference
1 min
285
MySQL SYSTEM_USER() Function
Reference
1 min
286
MySQL USER() Function
Reference
1 min
287
MySQL VERSION() Function
Reference
1 min
288
SQL Server Functions
Reference
6 min
289
SQL Server ASCII() Function
Reference
1 min
290
SQL Server CHAR() Function
Reference
1 min
291
SQL Server CHARINDEX() Function
Reference
1 min
292
SQL Server CONCAT() Function
Reference
1 min
293
SQL Server Concat With +
Reference
1 min
294
SQL Server CONCAT_WS() Function
Reference
1 min
295
SQL Server DATALENGTH() Function
Reference
1 min
296
SQL Server DIFFERENCE() Function
Reference
1 min
297
SQL Server FORMAT() Function
Reference
1 min
298
SQL Server LEFT() Function
Reference
1 min
299
SQL Server LEN() Function
Reference
1 min
300
SQL Server LOWER() Function
Reference
1 min
301
SQL Server LTRIM() Function
Reference
1 min
302
SQL Server NCHAR() Function
Reference
1 min
303
SQL Server PATINDEX() Function
Reference
1 min
304
SQL Server QUOTENAME() Function
Reference
1 min
305
SQL Server REPLACE() Function
Reference
1 min
306
SQL Server REPLICATE() Function
Reference
1 min
307
SQL Server REVERSE() Function
Reference
1 min
308
SQL Server RIGHT() Function
Reference
1 min
309
SQL Server RTRIM() Function
Reference
1 min
310
SQL Server SOUNDEX() Function
Reference
1 min
311
SQL Server SPACE() Function
Reference
1 min
312
SQL Server STR() Function
Reference
1 min
313
SQL Server STUFF() Function
Reference
1 min
314
SQL Server SUBSTRING() Function
Reference
1 min
315
SQL Server TRANSLATE() Function
Reference
1 min
316
SQL Server TRIM() Function
Reference
1 min
317
SQL Server UNICODE() Function
Reference
1 min
318
SQL Server UPPER() Function
Reference
1 min
319
SQL Server ABS() Function
Reference
1 min
320
SQL Server ACOS() Function
Reference
1 min
321
SQL Server ASIN() Function
Reference
1 min
322
SQL Server ATAN() Function
Reference
1 min
323
SQL Server ATN2() Function
Reference
1 min
324
SQL Server AVG() Function
Reference
1 min
325
SQL Server CEILING() Function
Reference
1 min
326
SQL Server COUNT() Function
Reference
1 min
327
SQL Server COS() Function
Reference
1 min
328
SQL Server COT() Function
Reference
1 min
329
SQL Server DEGREES() Function
Reference
1 min
330
SQL Server EXP() Function
Reference
1 min
331
SQL Server FLOOR() Function
Reference
1 min
332
SQL Server LOG() Function
Reference
1 min
333
SQL Server LOG10() Function
Reference
1 min
334
SQL Server MAX() Function
Reference
1 min
335
SQL Server MIN() Function
Reference
1 min
336
SQL Server PI() Function
Reference
1 min
337
SQL Server POWER() Function
Reference
1 min
338
SQL Server RADIANS() Function
Reference
1 min
339
SQL Server RAND() Function
Reference
1 min
340
SQL Server ROUND() Function
Reference
1 min
341
SQL Server SIGN() Function
Reference
1 min
342
SQL Server SIN() Function
Reference
1 min
343
SQL Server SQRT() Function
Reference
1 min
344
SQL Server SQUARE() Function
Reference
1 min
345
SQL Server SUM() Function
Reference
1 min
346
SQL Server TAN() Function
Reference
1 min
347
SQL Server CURRENT_TIMESTAMP Function
Reference
1 min
348
SQL Server DATEADD() Function
Reference
2 min
349
SQL Server DATEDIFF() Function
Reference
1 min
350
SQL Server DATEFROMPARTS() Function
Reference
1 min
351
SQL Server DATENAME() Function
Reference
1 min
352
SQL Server DATEPART() Function
Reference
2 min
353
SQL Server DAY() Function
Reference
1 min
354
SQL Server GETDATE() Function
Reference
1 min
355
SQL Server GETUTCDATE() Function
Reference
1 min
356
SQL Server ISDATE() Function
Reference
1 min
357
SQL Server MONTH() Function
Reference
1 min
358
SQL Server SYSDATETIME() Function
Reference
1 min
359
SQL Server YEAR() Function
Reference
1 min
360
SQL Server CAST() Function
Reference
1 min
361
SQL Server COALESCE() Function
Reference
1 min
362
SQL Server CONVERT() Function
Reference
4 min
363
SQL Server CURRENT_USER Function
Reference
1 min
364
SQL Server IIF() Function
Reference
1 min
365
SQL Server ISNULL() Function
Reference
1 min
366
SQL Server ISNUMERIC() Function
Reference
1 min
367
SQL Server NULLIF() Function
Reference
1 min
368
SQL Server SESSION_USER Function
Reference
1 min
369
SQL Server SESSIONPROPERTY() Function
Reference
1 min
370
SQL Server SYSTEM_USER Function
Reference
1 min
371
SQL Server USER_NAME() Function
Reference
1 min
372
MS Access Functions
Reference
4 min
373
MS Access Asc() Function
Reference
1 min
374
MS Access Chr() Function
Reference
1 min
375
MS Access Concat With &
Reference
1 min
376
MS Access CurDir() Function
Reference
1 min
377
MS Access Format() Function
Reference
3 min
378
MS Access InStr() Function
Reference
1 min
379
MS Access InstrRev() Function
Reference
1 min
380
MS Access LCase() Function
Reference
1 min
381
MS Access Left() Function
Reference
1 min
382
MS Access Len() Function
Reference
1 min
383
MS Access LTrim() Function
Reference
1 min
384
MS Access Mid() Function
Reference
1 min
385
MS Access Replace() Function
Reference
1 min
386
MS Access Right() Function
Reference
1 min
387
MS Access RTrim() Function
Reference
1 min
388
MS Access Space() Function
Reference
1 min
389
MS Access Split() Function
Reference
1 min
390
MS Access Str() Function
Reference
1 min
391
MS Access StrComp() Function
Reference
1 min
392
MS Access StrConv() Function
Reference
1 min
393
MS Access StrReverse() Function
Reference
1 min
394
MS Access Trim() Function
Reference
1 min
395
MS Access UCase() Function
Reference
1 min
396
MS Access Abs() Function
Reference
1 min
397
MS Access Atn() Function
Reference
1 min
398
MS Access Avg() Function
Reference
1 min
399
MS Access Cos() Function
Reference
1 min
400
MS Access Count() Function
Reference
1 min
401
MS Access Exp() Function
Reference
1 min
402
MS Access Fix() Function
Reference
1 min
403
MS Access Format() Function
Reference
2 min
404
MS Access Int() Function
Reference
1 min
405
MS Access Max() Function
Reference
1 min
406
MS Access Min() Function
Reference
1 min
407
MS Access Randomize() Function
Reference
1 min
408
MS Access Rnd Function
Reference
1 min
409
MS Access Round() Function
Reference
1 min
410
MS Access Sgn() Function
Reference
1 min
411
MS Access Sqr() Function
Reference
1 min
412
MS Access Sum() Function
Reference
1 min
413
MS Access Val() Function
Reference
1 min
414
MS Access Date() Function
Reference
1 min
415
MS Access DateAdd() Function
Reference
1 min
416
MS Access DateDiff() Function
Reference
2 min
417
MS Access DatePart() Function
Reference
2 min
418
MS Access DateSerial() Function
Reference
1 min
419
MS Access DateValue() Function
Reference
1 min
420
MS Access Day() Function
Reference
1 min
421
MS Access Format() Function
Reference
2 min
422
MS Access Hour() Function
Reference
1 min
423
MS Access Minute() Function
Reference
1 min
424
MS Access Month() Function
Reference
1 min
425
MS Access MonthName() Function
Reference
1 min
426
MS Access Now() Function
Reference
1 min
427
MS Access Second() Function
Reference
1 min
428
MS Access Time() Function
Reference
1 min
429
MS Access TimeSerial() Function
Reference
1 min
430
MS Access TimeValue() Function
Reference
1 min
431
MS Access Weekday() Function
Reference
1 min
432
MS Access WeekdayName() Function
Reference
1 min
433
MS Access Year() Function
Reference
1 min
434
MS Access CurrentUser() Function
Reference
1 min
435
MS Access Environ() Function
Reference
1 min
436
MS Access IsDate() Function
Reference
1 min
437
MS Access IsNull() Function
Reference
1 min
438
MS Access IsNumeric() Function
Reference
1 min
439
SQL Quick Reference
Reference
3 min
SQL Examples
· 1 lessons
440
SQL Examples
2 min