Oracle & SQL Introduction

Slides:



Advertisements
Similar presentations
Basic SQL Introduction Presented by: Madhuri Bhogadi.
Advertisements

Virtual training week 4 structured query language (SQL)
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
Structure Query Language (SQL) COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
Introduction to Structured Query Language (SQL)
Your Oracle Account UserName is the same as your UWP username Followed Not case sensitive Initial Password: UWPstudent Password is case sensitive.
Chapter 5 Introduction to SQL. Structured Query Language = the “programming language” for relational databases SQL is a nonprocedural language = the user.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
LOGO 1 Lab_02: Basic SQL. 2 Outline  Database Tables  SQL Statements  Semicolon after SQL Statements?  SQL DML and DDL  SQL SELECT Statement  SQL.
RDB/1 An introduction to RDBMS Objectives –To learn about the history and future direction of the SQL standard –To get an overall appreciation of a modern.
CPS120: Introduction to Computer Science Lecture 19 Introduction to SQL.
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
DATA MANIPULATION andCONTROL
MySQL Database Connection
Tutorial 6 SQL Muhammad Sulayman
Quick review of SQL And conversion to Oracle SQL.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
SQL: Data Manipulation I Chapter 5 CIS 458 Sungchul Hong.
Topic 1: Introduction to SQL. SQL stands for Structured Query Language. SQL is a standard computer language for accessing and manipulating databases SQL.
SQL Unit – 2 Base Knowledge Presented By Mr. R.Aravindhan.
Oracle & SQL Introduction. Database Concepts Revision DB? DBMS? DB Application? Application Programs? DBS? Examples of DBS? Examples of DBMS? 2Oracle.
Features of SQL SQL is an English-like language . It uses words such as select , insert , delete as part of its commend set. SQL is an a non-procedural.
1 DBS201: Introduction to Structure Query Language (SQL) Lecture 1.
SQL Basics. What is SQL? SQL stands for Structured Query Language. SQL lets you access and manipulate databases.
SQL Basic. What is SQL? SQL (pronounced "ess-que-el") stands for Structured Query Language. SQL is used to communicate with a database.
SQL Structured Query Language 1. Data Definition Language (DDL) is used to manage table and define data structure i.e. CREATE, ALTER, DROP Data Control.
SQL. คำสั่ง SQL SQL stands for Structured Query Language is a standard language for accessing and manipulating databases.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
SQL.. AN OVERVIEW lecture3 1. Overview of SQL 2  Query: allow questions to be asked of the data and display only the information required. It can include.
Oracle 11g: SQL Chapter 7 User Creation and Management.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 6 CGI/Perl and databases.
Relational Database Management System(RDBMS) Structured Query Language(SQL)
SQL. Originally developed by IBM Standardized in 80’s by ANSI and ISO Language to access relational database and English-like non-procedural Predominant.
SQL Introduction to database and SQL. Chapter 1: Databases and Database Users 6 Introduction to Databases Databases touch all aspects of our lives. Examples:
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
Understand Data Definition Language (DDL) Database Administration Fundamentals LESSON 1.4.
Fundamental of Database Systems
SQL SQL Ayshah I. Almugahwi Maryam J. Alkhalifa
Teacher Workshop Database Design Pearson Education © 2014.
Structured Query Language (SQL) DDL
Database Languages.
CHAPTER 7 DATABASE ACCESS THROUGH WEB
SQL Query Getting to the data ……..
Chapter 5 Introduction to SQL.
“Introduction To Database and SQL”
SQL: Schema Definition and Constraints Chapter 6 week 6
Advanced Accounting Information Systems
Prepared by : Moshira M. Ali CS490 Coordinator Arab Open University
Introduction to Structured Query Language(SQL)
Understand Data Manipulation Language (DML)
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Chapter 12 Information Systems.
Chapter 4 Relational Databases
Understand Data Manipulation Language (DML)
Databases and Data Warehouses Chapter 3
“Introduction To Database and SQL”
Structured Query Language (SQL) William Klingelsmith
STRUCTURED QUERY LANGUAGE
Database.
لغة قواعد البيانات STRUCTURED QUERY LANGUAGE SQL))
مقدمة في قواعد البيانات
SQL Queries Chapter No 3.
Data Model.
SQL .. An overview lecture3.
Chapter # 7 Introduction to Structured Query Language (SQL) Part I.
DATABASE Purpose of database
Database SQL.
Chapter Name SQL: Data Manipulation
Lecuter-1.
Presentation transcript:

Oracle & SQL Introduction

Database Design Revision Steps in building a database for an application: Analysis: Understand real-world domain being captured. Design: Specify it using a database conceptual model (ER). Translate specification to model of DBMS (Relational). Implementation (using DBMS): Create schema using DBMS commands (DDL). Load data (DML).

Relational Database A relational database is a DB that stores the data in the form of tables/relations with rows and columns. Every table shares at least one column with another table (Relationships). A table/Relation is the category of data, like Staff. The columns are information about the category (Attributes), like name or address and the rows are the actual data or records.

Oracle Oracle is a powerful relational database management system (RDBMS) that offers a large feature set. Oracle is widely regarded as one of the popular full-featured database systems on the market today. In almost all relational databases, data is accessed through Structured Query Language (SQL), and Oracle is one of them. SQL is nonprocedural language that represents a combination of DDL and DML.

Data Definition Language (DDL) DDL is a descriptive language for defining the database schema. Some of the main SQL-DDL commands are: CREATE TABLE ALTER TABLE DROP TABLE

Data Manipulation Language (DML) DML is a language for retrieving and updating (insert, delete, & modify) the data in the DB. The main SQL-DML commands are: SELECT INSERT INTO UPDATE DELETE FROM

Simple Queries Syntax: Staff SELECT { * | column | column_expression [,…] } FROM table_name; Staff

Simple Queries Retrieve all columns & rows Example: Retrieve all staff information. SELECT StaffNo, Fname, Lname, position, sex, DOB, Salary, BrnNo FROM staff; OR SELECT *

Simple Queries Retrieve specific columns & all rows Example: List salaries of all staff, showing only the staff number, the full and last name, and salary. SELECT StaffNo, Fname, Lname, Salary FROM staff;

Simple Queries Row selection (WHERE clause) Syntax: SELECT { * | column | column_expression [,…] } FROM table_name WHERE condition; Comparison operators: = , <, >, <=, >=, <>

Simple Queries Row selection (WHERE clause) Example: List all staff with a salary greater than 10,000. SELECT sno, fname, lname, salary FROM staff WHERE salary > 10000;

Oracle 11g (SQL Developer) Demo

Connection name: global User name: Sserial-number_section-number ex: S1_25486 Password: Sserial-number_section-number Hostname: 10.6.14.101 Servicename: global11g