Chapter 1 Introduction.

Slides:



Advertisements
Similar presentations
9 Creating and Managing Tables. Objectives After completing this lesson, you should be able to do the following: Describe the main database objects Create.
Advertisements

Copyright © 2011 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are trademarks of Accenture. SQL Workshop Day 4.
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
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.
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.
Self Guided Tour for Query V8.4 Basic Features. 2 This Self Guided Tour is meant as a review only for Query V8.4 Basic Features and not as a substitute.
Concepts of Database Management Seventh Edition
Chapter 7 Working with Databases and MySQL PHP Programming with MySQL 2 nd Edition.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
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.
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.
9 Copyright © Oracle Corporation, All rights reserved. Creating and Managing Tables.
Working with Columns, Characters, and Rows. 2 home back first prev next last What Will I Learn? In this lesson, you will learn to: –Apply the concatenation.
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   
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
Dumps4Download Oracle 1z0-051 Exam Dumps - Oracle 1z0-051 Exam Dumps Questions
Using Subqueries to Solve Queries
Using SQL*Plus.
Overview of Microsoft Access Databases Chapter 1
ORACLE SQL Developer & SQLPLUS Statements
IS 220 Databases Fundamentals
SQL Creating and Managing Tables
SQL Creating and Managing Tables
CS1222 Using Relational Databases and SQL
Using Subqueries to Solve Queries
SQL Subquery.
Chapter 1 Introduction.
Chapter 1 Introduction.
Contents Preface I Introduction Lesson Objectives I-2
Chapter 2: Creating And Modifying Database Tables
Lesson 3 Chapter 10.
Introduction to Access
Using SQL*Plus.
Using Subqueries to Solve Queries
IST 318 Database Administration
Using Subqueries to Solve Queries
SQLPLUS: Oracle SQL Interface
Subqueries Schedule: Timing Topic 25 minutes Lecture
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

Reviews of restricting Data 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

Review of 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);

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