SlideShare a Scribd company logo
USING BASIC SELECT STATEMENT
Created by:
MD. MAHBUBUL ALAM MASUM
WE ARE GOING TO USE
THE HUMAN RESOURCES (HR) SCHEMA
SELECT (COLUMN_NAME) FROM (TABLE_NAME);
SELECT ALL COLUMN
You can select all column by select* keyword.
SELECTING SPECIFIC COLUMNS
USING ARITHMETIC EXPRESSIONS
USING ARITHMETIC OPERATORS
RULES OF PREDEDENCE
• Multiplication and division occur before addition and subtraction.
• Operators of the same priority are evaluated from left to right.
• Parentheses are used to override the default precedence or to clarify the
statement.
OPERATOR PRECEDENCE
NULL VALUE
# Null is a value that is unavailable, unassigned,
unknown or inapplicable.
# Null is not the same as zero or a blank space.
DEFINING A NULL VALUE
ARITHMETIC EXPRESSIONS CONTAINING A NULL
VALUE EVALUATE TO NULL.
COLUMN ALIAS
# COLUMN ALIAS MEANS RENAME A COLUMN HEADING.
# COLUMN ALIAS IMMIDIATELY FOLLOW THE COLUMN NAME.
USING COLUMN ALIASES
You can use optional AS keyword between the column name and
the alias.
Requires double quotation marks if it contains spaces or
special characters, or if it is case-sensitive
CONCATENATION OPERATOR
# A concatenation operator Links columns or character strings to other columns
# it Is represented by two vertical bars (||)
# it Creates a resultant column that is a character expression
LITERAL CHARACTER STRINGS
• A literal is a character, a number, or a date that is included in the
SELECT statement.
• Date and character literal values must be enclosed within single
quotation marks.
• Each character string is output once for each row returned.
USING LITERAL CHARACTER STRINGS
ALTERNATIVE QUOTE (Q) OPERATOR
• Specify your own quotation mark delimiter.
• Select any delimiter.
• Increase readability and usability.
DUPLICATE ROWS
The default display of queries is all rows, including duplicate rows. Distinct or Unique keyword use to eliminate duplicate rows
DISPLAYING THE TABLE STRUCTURE
#DESCRIBE command use to display the structure of a table.
THANKS FOR WATCHING…

More Related Content

PPTX
1. dml select statement reterive data
PPTX
Where conditions and Operators in SQL
PPT
Retrieving data using the sql select statement
PPT
Sql server select queries ppt 18
PPT
SQL select statement and functions
PPT
Les01 (retrieving data using the sql select statement)
PPT
Sql select
PPT
Views, Triggers, Functions, Stored Procedures, Indexing and Joins
1. dml select statement reterive data
Where conditions and Operators in SQL
Retrieving data using the sql select statement
Sql server select queries ppt 18
SQL select statement and functions
Les01 (retrieving data using the sql select statement)
Sql select
Views, Triggers, Functions, Stored Procedures, Indexing and Joins

What's hot (19)

PDF
4 informatica transformation types sq and exp
PPTX
Lab1 select statement
PPTX
Statements,joins and operators in sql by thanveer danish melayi(1)
PPT
Oracle SQL, PL/SQL best practices
PDF
Introduction to oracle functions
DOCX
Field symbols
DOCX
Fieldsymbols
PPTX
advanced sql(database)
PPTX
Basic SQL Statments
PPTX
Sql subquery
PPTX
Advanced functions in PL SQL
PDF
Sql server 2016 queries
PPTX
Data Manipulation Language
PPTX
integrity constraints
PPT
Using single row functions to customize output
PPT
PDF
Updat Dir
PDF
Sql integrity constraints
PPT
Sydney Oracle Meetup - indexes
4 informatica transformation types sq and exp
Lab1 select statement
Statements,joins and operators in sql by thanveer danish melayi(1)
Oracle SQL, PL/SQL best practices
Introduction to oracle functions
Field symbols
Fieldsymbols
advanced sql(database)
Basic SQL Statments
Sql subquery
Advanced functions in PL SQL
Sql server 2016 queries
Data Manipulation Language
integrity constraints
Using single row functions to customize output
Updat Dir
Sql integrity constraints
Sydney Oracle Meetup - indexes
Ad

Similar to Using basic select statement in oracle database (20)

PPTX
Beginers guide for oracle sql
PPT
Sql statments c ha p# 1
PPT
SQL, consultas rapidas y sencillas, oracle
PPTX
CHAPTER 1 BASIC sql STATEMENTS.pptx
PPTX
Ch 1 Basic SQL Statement for the data.pptx
PPT
Sql oracle
PDF
Les01.pdfdf4eg53wrg4354b106t48rt7t88t78ert78
PPT
SQL- Introduction to MySQL
PPT
Day1_SQL_1 for learning about sql cldarly.ppt
PPT
SQL SELECT Statement
PPT
e computer notes - Writing basic sql select statements
PDF
Structure query language - Data Query language for beginners.pdf
PPT
Les01-Oracle
PPTX
Lecture02_IDB.pptx
PPTX
Practical 03 (1).pptx
PPT
Chinabankppt
PPT
Basic sql statements
PPT
SQL WORKSHOP::Lecture 1
PPT
The Basic of Standard Query Language Statements.ppt
PPTX
DML using oracle
Beginers guide for oracle sql
Sql statments c ha p# 1
SQL, consultas rapidas y sencillas, oracle
CHAPTER 1 BASIC sql STATEMENTS.pptx
Ch 1 Basic SQL Statement for the data.pptx
Sql oracle
Les01.pdfdf4eg53wrg4354b106t48rt7t88t78ert78
SQL- Introduction to MySQL
Day1_SQL_1 for learning about sql cldarly.ppt
SQL SELECT Statement
e computer notes - Writing basic sql select statements
Structure query language - Data Query language for beginners.pdf
Les01-Oracle
Lecture02_IDB.pptx
Practical 03 (1).pptx
Chinabankppt
Basic sql statements
SQL WORKSHOP::Lecture 1
The Basic of Standard Query Language Statements.ppt
DML using oracle
Ad

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
master seminar digital applications in india
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
01-Introduction-to-Information-Management.pdf
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Insiders guide to clinical Medicine.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
GDM (1) (1).pptx small presentation for students
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Microbial disease of the cardiovascular and lymphatic systems
Final Presentation General Medicine 03-08-2024.pptx
master seminar digital applications in india
Module 4: Burden of Disease Tutorial Slides S2 2025
Pharmacology of Heart Failure /Pharmacotherapy of CHF
01-Introduction-to-Information-Management.pdf
Abdominal Access Techniques with Prof. Dr. R K Mishra
O7-L3 Supply Chain Operations - ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Microbial diseases, their pathogenesis and prophylaxis
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Insiders guide to clinical Medicine.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Renaissance Architecture: A Journey from Faith to Humanism
GDM (1) (1).pptx small presentation for students
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Complications of Minimal Access Surgery at WLH
Sports Quiz easy sports quiz sports quiz
Microbial disease of the cardiovascular and lymphatic systems

Using basic select statement in oracle database