Chapter 1 Introduction.

Slides:



Advertisements
Similar presentations
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
Advertisements

Introduction to Structured Query Language (SQL)
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
2 Copyright © 2004, Oracle. All rights reserved. Restricting and Sorting Data.
Compe 341 Oracle Installation Procedure. Oracle From Click.
Introduction to Structured Query Language (SQL)
A Guide to MySQL 3. 2 Objectives Start MySQL and learn how to use the MySQL Reference Manual Create a database Change (activate) a database Create tables.
Concepts of Database Management Sixth Edition
Ceng 356-Lab1. Objectives After completing this lesson, you should be able to do the following: Get Familiar with the development environment List the.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
ASP.NET Programming with C# and SQL Server First Edition
Concepts of Database Management Seventh Edition
Chapter 7 Working with Databases and MySQL PHP Programming with MySQL 2 nd Edition.
Introduction to SEQUEL. What is SEQUEL? Acronym for Structural English Query Language Acronym for Structural English Query Language Standard language.
Exploring Microsoft Access 97 Chapter 1 Introduction to Microsoft Access: What Is A Database? Office graphic copyright by Microsoft Corp.
Using OUI to install Oracle9i Release 2 on an OpenVMS System.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
Concepts of Database Management Seventh Edition
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
A Guide to MySQL 3. 2 Introduction  Structured Query Language (SQL): Popular and widely used language for retrieving and manipulating database data Developed.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
Oracle & SQL Introduction. Database Concepts Revision DB? DBMS? DB Application? Application Programs? DBS? Examples of DBS? Examples of DBMS? 2Oracle.
1 DBS201: Introduction to Structure Query Language (SQL) Lecture 1.
2 Copyright © 2004, Oracle. All rights reserved. Restricting and Sorting Data.
Oracle 11g DATABASE DEVELOPMENT LAB2. Chapter- 2  These commands, which could be issued from SQL*Plus or SQL Developer,  will make it possible to log.
2 Copyright © 2009, Oracle. All rights reserved. Restricting and Sorting Data.
Subqueries.
1 Introduction to SQL *Plus Oracle SQL Interface MIS309 Database Systems.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
Installation Oracle 11g Express 2 double click the "setup" button to install the Oracle.
Oracle Query VBA Tool (OQVT)
 CONACT UC:  Magnific training   
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
1 ORACLE I 3 – SQL 1 Salim Phone: YM: talim_bansal.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Dept. of Computer & Information Sciences
3 A Guide to MySQL.
Using Subqueries to Solve Queries
Retrieving Data Using the SQL SELECT Statement
, MS-Access, QBE, Access/Oracle
SQL and SQL*Plus Interaction
Using SQL*Plus.
Chapter 1 Introduction.
1Z0-071 Exam : Oracle Database 12c SQL
SQL Creating and Managing Tables
SQL in Oracle.
Current outstanding balance
Access Maintaining and Querying a Database
Dumps4Download Oracle 1z0-051 Exam Dumps - Oracle 1z0-051 Exam Dumps Questions
Using SQL*Plus.
ORACLE SQL Developer & SQLPLUS Statements
IS 220 Databases Fundamentals
SQL Creating and Managing Tables
Chapter 8 Working with Databases and MySQL
SQL Creating and Managing Tables
Chapter 1 Introduction.
CS1222 Using Relational Databases and SQL
MSIS 655 Advanced Business Applications Programming
Using Subqueries to Solve Queries
SQL Subquery.
Chapter 1 Introduction.
Contents Preface I Introduction Lesson Objectives I-2
Chapter 2: Creating And Modifying Database Tables
Introduction to Access
Using SQL*Plus.
Using Subqueries to Solve Queries
IST 318 Database Administration
Using Subqueries to Solve Queries
SQLPLUS: Oracle SQL Interface
Presentation transcript:

Chapter 1 Introduction

Objectives Describe The database schema used in this course and the development environments Review some basic concepts of SQL

Human Resource schema (HR) used in this course

Development Environments There are 2 development environment for this course: Primary tool is Oracle SQL developer SQL*Plus Command line interface

How to use HR sample schema Display the SQL command prompt window. For example, on Windows, click Start, then Programs (or All Programs), then Oracle Database 11g Express Edition, and then Run SQL Command Line. Connect as the SYSTEM user: Type: connect Enter user-name: system Enter password: <password-for-system> Enter the following statement to unlock the HR account: SQL> ALTER USER hr ACCOUNT UNLOCK; Enter a statement in the following form to specify the password that you want for the HR user: SQL> ALTER USER hr IDENTIFIED BY hr

Retricting Data

Restricting Data Comparison conditions: <, > ==,<>, <= The WHERE Clause can compare values in columns, literal values, arthmetic expressions and functions WHERE clause format: WHERE expr operator value Comparison conditions: <, > ==,<>, <= Three logical operator available: And Or Not

Sorting Data

SQL Functions

Types of Group Functions

Using Subqueries

Using Subqueries Subqueries can be placed after : WHERE clause FROM clause HAVING clause Single row subqueries use single row operators such as = , <>, <, > Multiple row subqueries use operators IN, ANY, ALL Example: select last_name From employees Where salary = (select Min(salary) from employees);

Manipulating Data

homework Download the homework file in the website , solve it , print it and submit it next lecture.