SQL stands for Structured Query Language. SQL is a command
language for communication with the Oracle Server from any tool or application.
It is the language of the database. SQL is an ANSI (American National Standards
Institute) and ISO(International Organization for Standards ) standard. It is
the standard database query language. Once you get Oracle SQL 11g Online Training you will be able to update, delete,
and request information from the database. Various databases like Oracle,
Microsoft SQL Server, Microsoft Access, Sybase, Ingres etc support SQL. It is
widely used in the industry and helps us in working with complex databases.
SQL is the programming language that uses commands very
similar to the English language. Below is a list of operators used during
coding:
Operator
|
Description
|
Example
|
=
|
Equal to
|
Author = 'Alcott'
|
<>
|
Not equal to (most DBMS also accept != instead
of <>)
|
Dept <> 'Sales'
|
>
|
Greater than
|
Hire_Date > '2012-01-31'
|
<
|
Less than
|
Bonus < 50000.00
|
>=
|
Greater than or equal
|
Dependents >= 2
|
<=
|
Less than or equal
|
Rate <= 0.05
|
BETWEEN
|
Between an inclusive range
|
Cost BETWEEN 100.00 AND 500.00
|
LIKE
|
Match a character pattern
|
First_Name LIKE 'Will%'
|
IN
|
Equal to one of multiple possible values
|
DeptCode IN (101, 103, 209)
|
IS or IS NOT
|
Compare to null (missing data)
|
Address IS NOT NULL
|
AS
|
Used to change the table names when viewing results
|
SELECT employee AS 'department1'
|
Learn Oracle SQL 11g
Online to apply these operators and commands.
SQL Language Elements
The SQL language is
based on several elements. Following are
the elements of the SQL Language:
Clauses
-They are components of the statements and the queries.
Expressions
-Expressions can produce values
Predicates
- They specify conditions, which are used to limit the effects of the
statements and the queries, or to change the program flow.
Queries
-A query is used to retrieve data, based on a specific criteria.
Statements
-These are used to control transactions, program flow, connections, sessions,
or diagnostics.
Oracle SQL 11g online
advanced courses help users with basic SQL knowledge gain expertise. An
individual with little or no knowledge of programming can take this course
since the commands are very close to the English language as opposed to other
programming languages. A few other advantages of this language are that it
formats query results into basic reports and is a non-procedural language. This
language is widely used in the IT industry.
No comments:
Post a Comment