0% found this document useful (0 votes)
68 views2 pages

Oracle SQL Basics for Beginners

Uploaded by

wecah99089
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views2 pages

Oracle SQL Basics for Beginners

Uploaded by

wecah99089
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Oracle SQL Basics

By Manish Sharma

er
id
nR
lio
el
eb
R
|@
h
is
an
M

Manish Sharma
[Link] [Link]/RebellionRider
1. Oracle SQL Statements and Keywords

Oracle SQL is a powerful language used to interact with Oracle Databases. Each
command in Oracle SQL is called a statement, and these statements are composed
of keywords, identifiers, and operators.

● Statements: A statement is a complete command in SQL, such as SELECT,


INSERT, UPDATE, DELETE, or CREATE TABLE.
● Keywords: These are reserved words in Oracle SQL that have specific

er
meanings and functionalities. Examples include SELECT, FROM, WHERE,

id
ORDER BY, INSERT, UPDATE, etc.
● Identifiers: Names given to database objects like tables, columns, indexes,

nR
etc. For example, employee, salary, etc.

lio
Important Points:

Oracle SQL statements end with a semicolon (;).


el

● Statements can be written on a single line or across multiple lines for better
eb

readability.
R

2. Case Sensitivity and Formatting


|@

● Case Sensitivity:
○ Oracle SQL keywords are not case-sensitive. For example, SELECT,
select, and SeLeCt are all interpreted the same way.
h

○ However, data within the database (such as string literals) is


is

case-sensitive by default. For example, 'MANISH' and 'manish' are


an

treated differently.
● Formatting:
M

○ Writing SQL in a readable format is crucial for maintainability and


debugging. Consistently use spaces, indentation, and new lines.
○ Comments can be added to SQL code using:
■ -- for single-line comments.
■ /* */ for multi-line comments.

Manish Sharma
[Link] [Link]/RebellionRider

You might also like