Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
23Activity
0 of .
Results for:
No results containing your search query
P. 1
Oracle11g SQL Lab Guide

Oracle11g SQL Lab Guide

Ratings: (0)|Views: 12,504 |Likes:
Published by Amit Sharma

More info:

Published by: Amit Sharma on Aug 20, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/27/2013

pdf

text

original

 
Oracle 11gSQL Lab Guide Part I
This is another document from our learn Oracle SQL query series. We arecommitted to provide the BEST learning materials to the beginners. In theseries, this document assists new bees to learn SQL Queries. The document teaches steps by steps way to write simple to complex SQL queries. Thedocument consists of many examples to ease your learning. Join ourprofessional training program to learn from experts.
Provided By: BISP Created By: Abhishek Kumar Srivastavahttp://bispsolutions.wordpress.com Reviewed By: Amit Sharmalearnsqlquery.wordpress.com Team BISP
learnsqlquery.wordpress.com | SQL Lab Guide1
 
Table of Content……………………………………………………………………..2-7
(A)
Introduction
…………………………………………………………………………………..9-14Oracle 11g Database……………………………………………………………………………….9Data Models…………………………………………………………………………………………….9Entity Relationship Model………………………………………………………………………10Relational Database………………………………………………………………………………..10Using SQL Commands……………………………………………………………………………..10SQL Development Environment………………………………………………………………11Oracle SQL Developer……………………………………………………………………………..12-14Creating Database Connection………………………………………………………………..12-14
1.
Data Retrieving by using SELECT statement………………………….15-22
Creating Table…………………………………………………………………………………………15Insert Data into Table……………………………………………………………………………..15Using SELECT statement for All Columns…………………………………………………15-16Using SELECT statement for Selecting Specific Columns………………………….16Way of writing of SQL Statement……………………………………………………………..16-17Executing SQL Statements……………………………………………………………………….17Column Names in a Table………………………………………………………………………...18Using Arithmetic Expressions in SQL……………………………………………………….18-19Operators Precedence……………………………………………………………………………..19-20Column Aliases…………………………………………………………………………………………20Defining and Using Concatenation Operator……………………………………………21Defining and Using Literal Character Strings…………………………………………...21
learnsqlquery.wordpress.com | SQL Lab Guide2
 
Displaying Structure of Table…………………………………………………………………..22
2.
Restricting and Sorting Data…………………………………………………23-29
Using WHERE Clause……………………………………………………………………………….23Character Strings and Dates……………………………………………………………………23Defining and Using Comparison Operator………………………………………………24-25Using BETWEEN Operator as for Range Condition………………………………....25-26Using LIKE Operator for Pattern Matching……………………………………………..26Wildcard Characters……………………………………………………………………………….27Using NULL Conditions……………………………………………………………………………27Defining conditions using Logical Operators………………………………………….28-29Using AND Operator………………………………………………………………………………..28Using OR Operator…………………………………………………………………………………..28Using NOT Operator…………………………………………………………………………………29
3.
Using Single-Row Functions to Customize Output………………….30-34
SQL Functions………………………………………………………………………………………….30Single-Row Functions………………………………………………………………………………30Character Functions…………………………………………………………………………………30Using Case Conversion Function………………………………………………………………31-32Using Character Multiplication Functions………………………………………………..32Number Functions……………………………………………………………………………………32-33
Using ROUND Function………………………………………………………………………..32
Using TRUNC Function…………………………………………………………………………33
Using MOD Function…………………………………………………………………………….33Working with DATE Function…………………………………………………………………..33-34
learnsqlquery.wordpress.com | SQL Lab Guide3

Activity (23)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Hai Nguyen Thanh liked this
Maged Jerbi liked this
Horatio Cain liked this
onmcv liked this
Vincent Fajardo liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->