Sql Plsql Oracle
By Andrew Igla
()
About this ebook
Andrew Igla
The author Andrew Igla is an electronics engineer and an electronic communications engineer expert in Information Technology regarding computer languages SQL, PLSQL and general Oracle issues.
Read more from Andrew Igla
Mathematics 1St First Order Linear Differential Equations 2Nd Second Order Linear Differential Equations Laplace Fourier Bessel Mathematics Rating: 0 out of 5 stars0 ratingsLuftvafer Rating: 0 out of 5 stars0 ratings
Related to Sql Plsql Oracle
Related ebooks
Oracle APEX Tips and Tricks Rating: 0 out of 5 stars0 ratingsOracle SQL and PL/SQL Rating: 5 out of 5 stars5/5Oracle E-Business Suite Manufacturing & Supply Chain Management Rating: 0 out of 5 stars0 ratingsLearn Hbase in 24 Hours Rating: 0 out of 5 stars0 ratingsPro Oracle SQL Development: Best Practices for Writing Advanced Queries Rating: 0 out of 5 stars0 ratingsBeginning Oracle Application Express Rating: 0 out of 5 stars0 ratingsAdvanced Oracle PL/SQL Developer's Guide - Second Edition Rating: 4 out of 5 stars4/5ORACLE 12C Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsORACLE PL/SQL Interview Questions You'll Most Likely Be Asked Rating: 5 out of 5 stars5/5DB2 A Complete Guide - 2021 Edition Rating: 0 out of 5 stars0 ratingsMastering Oracle Scheduler in Oracle 11g Databases Rating: 0 out of 5 stars0 ratingsOracle Forms Complete Self-Assessment Guide Rating: 0 out of 5 stars0 ratingsOracle E-Business Suite R12 Core Development and Extension Cookbook Rating: 0 out of 5 stars0 ratingsOracle SOA BPEL Process Manager 11gR1 A Hands-on Tutorial Rating: 5 out of 5 stars5/5WS-BPEL 2.0 Beginner's Guide Rating: 0 out of 5 stars0 ratingsHands-On Oracle Application Express Security: Building Secure Apex Applications Rating: 0 out of 5 stars0 ratingsMastering Oracle Database: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsOA Framework Beginners Guide Rating: 0 out of 5 stars0 ratingsIntroduction to Google's Go Programming Language: GoLang Rating: 0 out of 5 stars0 ratingsMastering SQL and Database: From Basics to Expert Proficiency Rating: 0 out of 5 stars0 ratingsOracle E Business Suite A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsOracle OBIEE Interview Q & A Rating: 3 out of 5 stars3/5Oracle Quick Guides: Part 3 - Coding in Oracle: SQL and PL/SQL Rating: 0 out of 5 stars0 ratingsOracle Database 12c Complete Self-Assessment Guide Rating: 4 out of 5 stars4/5Oracle Ultimate DBA Interview Questions Rating: 5 out of 5 stars5/5Microsoft SQL Server 2008 R2 Administration Cookbook Rating: 5 out of 5 stars5/5Oracle Information Integration, Migration, and Consolidation Rating: 0 out of 5 stars0 ratingsOracle Business Intelligence Enterprise Edition 12c A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsLearn T-SQL Querying: A guide to developing efficient and elegant T-SQL code Rating: 0 out of 5 stars0 ratings
Computers For You
CompTIA IT Fundamentals (ITF+) Study Guide: Exam FC0-U61 Rating: 0 out of 5 stars0 ratingsThe Innovators: How a Group of Hackers, Geniuses, and Geeks Created the Digital Revolution Rating: 4 out of 5 stars4/5Procreate for Beginners: Introduction to Procreate for Drawing and Illustrating on the iPad Rating: 5 out of 5 stars5/5How to Create Cpn Numbers the Right way: A Step by Step Guide to Creating cpn Numbers Legally Rating: 4 out of 5 stars4/5The Invisible Rainbow: A History of Electricity and Life Rating: 5 out of 5 stars5/5Deep Search: How to Explore the Internet More Effectively Rating: 5 out of 5 stars5/5Mastering ChatGPT: 21 Prompts Templates for Effortless Writing Rating: 4 out of 5 stars4/5CompTIA Security+ Get Certified Get Ahead: SY0-701 Study Guide Rating: 5 out of 5 stars5/5Elon Musk Rating: 4 out of 5 stars4/5Uncanny Valley: A Memoir Rating: 4 out of 5 stars4/5Alan Turing: The Enigma: The Book That Inspired the Film The Imitation Game - Updated Edition Rating: 4 out of 5 stars4/5SQL QuickStart Guide: The Simplified Beginner's Guide to Managing, Analyzing, and Manipulating Data With SQL Rating: 4 out of 5 stars4/5The ChatGPT Millionaire Handbook: Make Money Online With the Power of AI Technology Rating: 4 out of 5 stars4/5Standard Deviations: Flawed Assumptions, Tortured Data, and Other Ways to Lie with Statistics Rating: 4 out of 5 stars4/5Creating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5iPhone Unlocked Rating: 0 out of 5 stars0 ratingsSlenderman: Online Obsession, Mental Illness, and the Violent Crime of Two Midwestern Girls Rating: 4 out of 5 stars4/5People Skills for Analytical Thinkers Rating: 5 out of 5 stars5/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5Excel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsGrokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Everybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5The Self-Taught Computer Scientist: The Beginner's Guide to Data Structures & Algorithms Rating: 0 out of 5 stars0 ratingsAn Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5
Reviews for Sql Plsql Oracle
0 ratings0 reviews
Book preview
Sql Plsql Oracle - Andrew Igla
Copyright © 2016 by Andrew Igla.
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without permission in writing from the copyright owner.
Any people depicted in stock imagery provided by Thinkstock are models, and such images are being used for illustrative purposes only.
Certain stock imagery © Thinkstock.
Rev. date: 05/12/2016
Xlibris
1-800-455-039
www.Xlibris.com.au
740893
CONTENTS
Chapter 1: SQL
Chapter 2: PLSQL
Chapter 3: Oracle
This is a book about sql, plsql and Oracle. The first chapter is about SQL. The second chapter is about PLSQL and the third chapter is about Oracle.
Chapter 1
SQL
Let us say there is a table worker. To allow select, insert, update on table worker for user Andrew note the following.
SQL command.
Grant select, update, insert on worker to Andrew;
Let us say we wish to create a role in oracle. Note the following.
SQL command.
Create role Andrew_role;
Let us say we wish Andrew_role to select, update, insert to table worker. Note the following.
SQL command.
Grant select, update, insert on worker to Andrew_role;
Let us say we wish user Michael and Andrew to have the same privileges as Andrew_role on table worker. Note the following.
SQL command.
Grant Andrew_role to Andrew;
Grant Andrew_role to Michael;
Let us say we wish user Andrew to be connected to the database. Note the following.
SQL command.
Connect Andrew/newpassword;
Let us say we wish to create a sequence being a number getting bigger by one. Note the following.
SQL command.
Create sequence worker_ID
start with 100
increment by 1;
Let us say we wish to find the current value of the sequence
worker_ID. Note the following.
SQL command.
Select worker_ID.currval
from dual;
Let us say we wish to find next value of sequence worker_ID. Note the following.
SQL command.
Select worker_ID.nextval
from dual;
Let us say we wish to create a table school. Note the following.
SQL command.
Create table school (
schoolname varchar2(25),
teachername varchar2(25),
yearnumber number,
hiredate date);
Let us say we wish to create table address. Note the following.
SQL command.
Create table address(
sirname varchar2(25),
firstname varchar2(25),