Find practical knowledge without the noise.

Search guides, SQL, error codes, and procedures — or browse by topic below.

388 guides · 8 topics

Basic SQL Syntax

Guides filed under this topic.

Showing 9 technical documents Folder: Basic SQL Syntax
Filtering…
SELECT Statement

MySQL SELECT Statement

Basic SELECTSELECT * FROM employees;SELECT Specific ColumnsSELECT id, name FROM employees;

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
Basic SQL Syntax

Basic SQL Syntax

Overview of SQL SyntaxStructured Query Language (SQL) is used to interact with relational databases. Each SQL statement...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
SELECT Statement

SELECT Statement

SELECT StatementThe SELECT statement is used to query the database.SELECT first_name, last_name FROM employees;You can a...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
FROM Clause

FROM Clause

FROM ClauseThe FROM clause defines the table from which to retrieve data.SELECT first_name FROM employees;You can join m...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
WHERE Clause

WHERE Clause

WHERE ClauseThe WHERE clause is used to filter rows based on a condition.SELECT * FROM employees WHERE department_id = 5...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
ORDER BY

ORDER BY

ORDER BY ClauseUse ORDER BY to sort results based on one or more columns.SELECT first_name, salary FROM employees ORDER...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
DISTINCT Keyword

DISTINCT Keyword

DISTINCT KeywordDISTINCT is used to return only unique values.SELECT DISTINCT department_id FROM employees;You can use i...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views
Arithmetic & Aliases

Arithmetic & Aliases

Arithmetic Expressions and AliasesArithmeticSQL allows basic arithmetic operations:SELECT first_name, salary + 1000 AS u...

Sai Sree Ram Gundepudi Updated Jul 26, 2025 0 views