Chapter 2: SQL – The Basics Objectives: 1.The SQL execution environment 2.SELECT statement 3.SQL Developer & SQL*Plus.

Slides:



Advertisements
Similar presentations
® IBM Software Group © IBM Corporation QUY Thai Duy – ITFac DLU Lesson 2: The DB2 Environment.
Advertisements

Virtual training week 4 structured query language (SQL)
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Chapter 9: Advanced SQL and PL/SQL Topics Guide to Oracle 10g.
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.
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Module 11: Data Transport. Overview Tools and functionality in Oracle and their equivalents in SQL Server for: Data transport out of the database Data.
DB Audit Expert v1.1 for Oracle Copyright © SoftTree Technologies, Inc. This presentation is for DB Audit Expert for Oracle version 1.1 which.
Oracle Developer Tools for Visual Studio.NET Curtis Rempe.
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
ORACLE ONLINE TRAINING Contact our Support Team : SOFTNSOL India: Skype id : softnsoltrainings id:
Module 9: Managing Schema Objects. Overview Naming guidelines for identifiers in schema object definitions Storage and structure of schema objects Implementing.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Chapter 2 Basic SQL SELECT Statements
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 7-1 David M. Kroenke’s Chapter Seven: SQL for Database Construction and.
Chapter 2 Basic SQL SELECT Statements Oracle 10g: SQL.
Oracle9 i JDeveloper for Database Developers and DBAs Brian Fry Principal Product Manager Oracle JDeveloper Oracle Corporation.
Creating Databases with MySQL Workbench Build the Forums database in Ullman’s Chapter 6.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Examining.
11 Copyright س Oracle Corporation, All rights reserved. ® Overview of PL/SQL.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
PRACTICE OVERVIEW PL/SQL Part Examine this package specification and body: Which statement about the V_TOTAL_BUDGET variable is true? A. It must.
A Brief Documentation.  Provides basic information about connection, server, and client.
Introduction Lesson 1. Skills Matrix Relational Database Management System (RDBMS) Installing and configuring SQL Server. Implementing high availability.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
Oracle & SQL Introduction. Database Concepts Revision DB? DBMS? DB Application? Application Programs? DBS? Examples of DBS? Examples of DBMS? 2Oracle.
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
© 2008 IBM Corporation November 17, 2015 Informix Administration Overview John F. Miller III March 2008.
1 Chapter 20 – Data sources and datasets Outline How to create a data source How to use a data source How to use Query Builder to build a simple query.
14 Copyright © Oracle Corporation, All rights reserved. SQL Workshop.
Visual Programing SQL Overview Section 1.
Gourav Atalkar Software Engineer bispsolutions.wordpress.com.
Database Connectivity with ASP.NET. 2 Introduction Web pages commonly used to: –Gather information stored on a Web server database Most server-side scripting.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Introduction to Teradata Client Tools. 2 Introduction to Teradata SQL  OBJECTIVES :  Teradata Product Components.  Accessing Teradata – Database /
Oracle & SQL. Oracle Data Types Character Data Types: Char(2) Varchar (20) Clob: large character string as long as 4GB Bolb and bfile: large amount of.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
Oracle9i Developer: PL/SQL Programming Chapter 11 Performance Tuning.
1 Working with MS SQL Server Beginning ASP.NET in C# and VB Chapter 12.
 CONACT UC:  Magnific training   
CS320 Web and Internet Programming SQL and MySQL Chengyu Sun California State University, Los Angeles.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
13 Copyright © 2004, Oracle. All rights reserved. Migrating SQL Statements.
 Reviewing basic architecture concepts  Oracle 10g Architecture  Main features of 9i and 10g
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
CS320 Web and Internet Programming SQL and MySQL
Chapter 1 Introduction.
Principles of Software Development
Using the Set Operators
Database Management  .
Using the Set Operators
SQL 101.
Using JDeveloper.
Data Management Innovations 2017 High level overview of DB
Chapter 1 Introduction.
Contents Preface I Introduction Lesson Objectives I-2
CS3220 Web and Internet Programming SQL and MySQL
CS3220 Web and Internet Programming SQL and MySQL
Using the Set Operators
Database SQL.
Presentation transcript:

Chapter 2: SQL – The Basics Objectives: 1.The SQL execution environment 2.SELECT statement 3.SQL Developer & SQL*Plus

Overview: SQL execution environment Oracle can run on many different OS Oracle databases server is where the Oracle DB software resides Oracle provides SQL Developer & SQL*Plus tools/interfaces for connecting with the DB & executing your SQL queries Other third party tools are available that are mentioned on Appendix H of the textbook

Let’s get started… Execution environment & setting up STUDENT schema Accessing Oracle database server Getting started with SQL Developer SQL and the Oracle database server Creating a database connection for SQL Developer Exploring database table objects Columns tab Data tab Grants tab Statistics tab Triggers, dependencies, indexes, flashbacks, and SQL tabs Details tab SQL Developer worksheet Results tab

Various SQL Developer Panes

Data types A data type determines the type of data that can be stored in a column. You must keep data types in mind especially when using comparison operators, in other words, comparing the values in two columns. DATE NUMBER CHAR VARCHAR2

SQL SELECT statement Components of a SELECT statement Selecting one, multiple or all columns Eliminating duplicates with DISTINCT or UNIQUE

SQL Worksheet Icons Constructing & formatting SQL SELECT statement in SQL Developer Execute Statement Run Script Commit Rollback Cancel Execute Explain Plan Auto Trace Clear

Formatting SQL statement in SQL Developer Syntax formatting Code completion Syntax highlighting Writing multiple statements in the SQL Developer SQL statement history in SQL Developer

SQL*Plus Starting SQL*Plus Executing SQL commands in SQL*Plus Formatting SQL*Plus results