IRU (Information Retrieval and Use) Module Handbook
|
|
- Paulina Sims
- 7 years ago
- Views:
Transcription
1 IRU (Information Retrieval and Use) Module Handbook Contents Book list Module Specification Schedule Connecting to SQL Changing your password Creating the EMP and DEPT tables Exercises
2 Book List Information retrieval and Use ESSENTIAL READING Rolland, F.D (1997), Essence of Databases (Essence of Computing), Prentice-Hall. ISBN Suggested Background Texts Kendall K. E. & Kendall J.E (2000); Systems Analysis and Design (5 th edn); Prentice-Hall. Hoffer J A, Valacich J S and George J F (2001); Modern Systems Analysis and Design (3rd edn); Prentice Hall, ISBN Elliott G and Starkings S(1998), Business Information Technology, Prentice Hall, ISBN ; Patrick J.P. (2002), SQL Fundamentals (2 nd edition), Prentice Hall, ISBN Web sites The Module at askgeoff.org.uk Click the link to semester one, then the link to Information Retrieval and Use. The module in Blackboard Username and Password for Blackboard Usernames and passwords are needed to access the University IT and library facilities to ensure that only you can get to your work and . Your User Name is on your UNIVERSITY student card Your initial password for all University IT systems is your date of birth. Type this as six numbers without spaces (e.g ) You should see this module listed in my courses on the right of the homepage. If it s not there, tell me. explains further. Learning SQL
3 IRU SQL+ LOGIN INSTRUCTIONS Double click the SQL+ icon on the desktop to launch SQL+ In the dialogue box that appears enter your username (initial followed by surname e.g. GLEESE), password (set to your surname initially) and the host string ORACDB. It is recommended that you change your password. Do this by using the PASSWORD command as follows. At the SQL+ prompt enter PASSWORD <username> (e.g. PASSWORD GBRIDGES) You will be prompted for the old password, then the new password, and finally asked to retype the new password. SQL+ should respond, Password changed. Please note that it s not possible for anyone to tell you your password if you forget it. Database administrators can reset passwords. But this particular database administrator takes a dim view of it! Now you have a choice. If you want to use the EMP and DEPT tables in MY tablespace, then In the GLEESE user name there are two tables DEPT (see below) and EMP (see below. These are the tables required for SQL+ exercises. In order to make these tables available in your tablespace you will need to use these SQL+ commands CREATE SYNONYM DEPT FOR GLEESE.DEPT; CREATE SYNONYM EMP FOR GLEESE.EMP; You should now be able to carry out all of SQL exercises in the SQL+ environment. If you want to create EMP and DEPT tables of your own DON T create the synonyms, and follow the instructions later. Geoff Leese Information Retrieval and Use module leader September 2009
4 16/11/2009 Module Descriptor Code: CE Version: 1 Approval Status: Valid Current Title: INFORMATION RETRIEVAL AND USE Section: Computing, Engineering & Technology Level: 2 Contact Address VLE JANET FRANCIS J.FRANCIS@STAFFS.AC.UK Blackboard Pattern Of Delivery Credits Contact 15 Hours Site STAFFORD COLLEGE LEEK COLLEGE STOKE-ON- TRENT COLLEGE SOUTH STAFFORDSHIRE COLLEGE - TAMWORTH SHREWSBURY COLLEGE BURTON COLLEGE LICHFIELD STAFFORD STOKE Registration Conditions None Module Details Independent Study Hours Total Learning Hours A COURSEWORK weighted at 100%. Description of Pattern of Delivery Pattern 1, study 100% in period 2 Pattern 2, study 100% in period 1 Pattern 3, study 50% in period 1 Pattern 3, study 50% in period 2 Module Version Condition Text Assessment Details 100% Coursework consisting of a portfolio assessing Learning Outcomes 1-3. The portfolio (a phased series of tasks) will comprise a series of practical exercises.
5 Indicative Content Learning Strategies Entity models, relational design, mapping designs to implementations, normalisation and de-normalisation. Database languages SQL: DML, DDL and DCL Developing applications with database tools Information Retrieval Levels of Information Information Management Use of Information Related legislation One lecture and a blocked 3-hour laboratory tutorial period each week. The lecture will be used for keynote presentations. Parts of the block tutorial (e.g. the first and last hour) will be tutored and will comprise a mix of delivered material (including presentations) and guided tutorial work, which will include individual and group activities. Other parts of the block (e.g. the middle hour) will be set aside for untutored independent resource based learning. This will include problem based learning where students will be set a specific problem that requires a solution to be found, working through a tutorial book or analysing a case study. Every alternate week (six times in each 12-week teaching block), this session will be used as a surgery session for peer and self assessment to provide formative feedback and for guidance on assessment work. Independent study will involve directed reading in order to extend knowledge in areas of the indicative content covered by the classroom teaching. (1:n) 1, (1:20)2 Prospectus Information Resources Special Admissions Requirements Texts This follows on from the database introduction at level 1 (see CE IT Skills) by looking into Information Systems and specifically into information retrieval, types of information, levels of information and the management and use of information are also covered. The module also looks into the legislation associated with the management and use of information. ORACLE relational database management system or equivalent. Prior study of CE IT Skills or equivalent Disqualified Combination - CE Information Retrieval and Use (Blended Learning Version) or equivalent F D Rolland The Essence of Databases Prentice Hall 1998, ISBN: (Essential Reading) Learning Outcome 1) DEMONSTRATE KNOWLEDGE AND CRITICAL UNDERSTANDING OF INFORMATICS AND THE UNDERPINNING THEORIES. 2) SELECT APPROPRIATE PRACTICES AND TOOLS TO DESIGN AN EFFECTIVE INFORMATION SYSTEM. Learning Analysis Enquiry 3) RETRIEVAL OF INFORMATION USING SQL. Application
6 Creating your own EMP and DEPT tables Later in the module you ll learn the SQL commands for creating and populating tables. But since most of the early exercises involve extracting data from existing tables, here s a handy shortcut to create and populate the EMP and DEPT tables in your own tablespace. If you re daft enough to want to type in the SQL, here it is below. You might want to do it as a bit of early practice in creating and populating tables. As I say, if you re daft enough. DROP TABLE EMP; DROP TABLE DEPT; CREATE TABLE EMP (EMPNO NUMBER(4) NOT NULL, ENAME VARCHAR2(10), JOB VARCHAR2(9), MGR NUMBER(4), HIREDATE DATE, SAL NUMBER(7, 2), COMM NUMBER(7, 2), DEPTNO NUMBER(2)); (7369, 'SMITH', 'CLERK', 7902, TO_DATE('17-DEC-1980', 'DD-MON-YYYY'), 800, NULL, 20); (7499, 'ALLEN', 'SALESMAN', 7698, TO_DATE('20-FEB-1981', 'DD-MON-YYYY'), 1600, 300, 30); (7521, 'WARD', 'SALESMAN', 7698, TO_DATE('22-FEB-1981', 'DD-MON-YYYY'), 1250, 500, 30); (7566, 'JONES', 'MANAGER', 7839, TO_DATE('2-APR-1981', 'DD-MON-YYYY'), 2975, NULL, 20); (7654, 'MARTIN', 'SALESMAN', 7698, TO_DATE('28-SEP-1981', 'DD-MON-YYYY'), 1250, 1400, 30); (7698, 'BLAKE', 'MANAGER', 7839, TO_DATE('1-MAY-1981', 'DD-MON-YYYY'), 2850, NULL, 30); (7782, 'CLARK', 'MANAGER', 7839, TO_DATE('9-JUN-1981', 'DD-MON-YYYY'), 2450, NULL, 10); (7788, 'SCOTT', 'ANALYST', 7566, TO_DATE('19-APR-1987', 'DD-MON-YYYY'), 3000, NULL, 20); (7839, 'KING', 'PRESIDENT', NULL, TO_DATE('17-NOV-1981', 'DD-MON-YYYY'), 5000, NULL, 10);
7 (7844, 'TURNER', 'SALESMAN', 7698, TO_DATE('8-SEP-1981', 'DD-MON-YYYY'), 1500, 0, 30); (7876, 'ADAMS', 'CLERK', 7788, TO_DATE('23-MAY-1987', 'DD-MON-YYYY'), 1100, NULL, 20); (7900, 'JAMES', 'CLERK', 7698, TO_DATE('3-DEC-1981', 'DD-MON-YYYY'), 950, NULL, 30); (7902, 'FORD', 'ANALYST', 7566, TO_DATE('3-DEC-1981', 'DD-MON-YYYY'), 3000, NULL, 20); (7934, 'MILLER', 'CLERK', 7782, TO_DATE('23-JAN-1982', 'DD-MON-YYYY'), 1300, NULL, 10); CREATE TABLE DEPT (DEPTNO NUMBER(2), DNAME VARCHAR2(14), LOC VARCHAR2(13) ); INSERT INTO DEPT VALUES (10, 'ACCOUNTING', 'NEW YORK'); INSERT INTO DEPT VALUES (20, 'RESEARCH', 'DALLAS'); INSERT INTO DEPT VALUES (30, 'SALES', 'CHICAGO'); INSERT INTO DEPT VALUES (40, 'OPERATIONS', 'BOSTON'); COMMIT;
8 Exercise 1: 1: List all employees whose salary is between 1000 and Show employee name, department and salary as below: ENAME DEPTNO SAL ALLEN WARD MARTIN TURNER ADAMS MILLER rows selected. 2: Display all the different types of occupations as below: JOB ANALYST CLERK MANAGER PRESIDENT SALESMAN 3: List details of employees in departments 10 or in department 30 as below: EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ALLEN SALESMAN FEB WARD SALESMAN FEB MARTIN SALESMAN SEP BLAKE MANAGER MAY CLARK MANAGER JUN KING PRESIDENT 17-NOV TURNER SALESMAN SEP JAMES CLERK DEC MILLER CLERK JAN rows selected. 4: Display all employees who were recruited during 1982 giving their name, department and hiredate as below: ENAME HIREDATE DEPTNO APR JAN : List employees whose names have TH or LL in them as below: ENAME SMITH ALLEN MILLER 6: List the department numbers and names in department name order as below: DEPTNO DNAME ACCOUNTING 40 OPERATIONS 20 RESEARCH 30 SALES
9 7: Find the name, job, salary and commission of all employees who do not have managers ENAME JOB SAL COMM KING PRESIDENT : List all salesmen in descending order of their commission divided by their salary: ENAME COMM SAL MARTIN WARD ALLEN TURNER : Calculate the total annual compensation of all salesmen based upon their monthly salary and monthly commission: ENAME SAL COMM (SAL+COMM)* ALLEN WARD MARTIN TURNER : Find all the salesmen in department 30 who have a salary greater than or equal to $1500: ENAME SAL DEPTNO ALLEN TURNER Some of the above may vary slightly depending on the precise dataset you are using.
10 Exercise 2: 1: Find out how many managers there are without listing them. Display as below: COUNT(JOB) : Compute the average annual salary plus commission for all salesmen: COMPENSATION : Find the highest and lowest paid employees and the difference between them display as below: RICH POOR DIFFERENCE : Find the number of characters in the longest department name: LONGEST : Count the number of people in department 30 who receive a salary and the number of people who receive a commission: SALARIES COMMMISSION : List the average commission of employees who receive a commission and the average commission of all employees (treating employees who do not receive a commission as receiving a zero commission): AVECOMM AVEALL : List the average salary of employees that receive a salary, the average commission of employees that receive a commission, the average salary plus commission of only those employees that receive a commission, and the average salary plus commission of all employees including those who do not receive a commission. AVESAL AVECOMM AVETOTAL AVETOTALALLL
11 Exercise 3: 1: Select the name, job and date of hire of the employees in department 20. Display results as formatted below: ENAME JOB HIREDATE SMITH CLERK 12/17/80 JONES MANAGER 04/02/81 SCOTT ANALYST 04/19/87 ADAMS CLERK 05/23/87 FORD ANALYST 12/03/81 2: Select the name, job and date of hire of the employees in department 20. Display results as formatted below: ENAME JOB HIREDATE SMITH CLERK WEDNESDAY DECEMBER 17, 1980 JONES MANAGER THURSDAY APRIL 02, 1981 SCOTT ANALYST SUNDAY APRIL 19, 1987 ADAMS CLERK SATURDAY MAY 23, 1987 FORD ANALYST THURSDAY DECEMBER 03, : Select the name, job and date of hire of the employees in department 20. Display results as formatted below: ENAME JOB HIREDATE SMITH CLERK WEDNESDAY 17th DECEMBER, 1980 JONES MANAGER THURSDAY 02nd APRIL, 1981 SCOTT ANALYST SUNDAY 19th APRIL, 1987 ADAMS CLERK SATURDAY 23rd MAY, 1987 FORD ANALYST THURSDAY 03rd DECEMBER, : Select the name, job and date of hire of the employees in department 20. Display results as formatted below: ENAME JOB HIREDATE SMITH CLERK DECEMBER :12AM JONES MANAGER APRIL :04AM SCOTT ANALYST APRIL :04AM ADAMS CLERK MAY :05AM FORD ANALYST DECEMBER :12AM
12 5: Are there any employees who have worked for more than 20 years for the company? EMPNO ENAME DEPTNO SMITH ALLEN WARD JONES BLAKE CLARK TURNER 30 Note that the actual data displayed will depend upon the date the query is run. Look at the data in emp to k h h 6: Show the first day of the month in which each employee was hired. ENAME HIREDATE ADD_MONTH SMITH 17-DEC DEC-80 ALLEN 20-FEB FEB-81 WARD 22-FEB FEB-81 JONES 02-APR APR-81 MARTIN 28-SEP SEP-81 BLAKE 01-MAY MAY-81 CLARK 09-JUN JUN-81 SCOTT 19-APR APR-87 KING 17-NOV NOV-81 TURNER 08-SEP SEP-81 ADAMS 23-MAY MAY-87 JAMES 03-DEC DEC-81 FORD 03-DEC DEC-81 MILLER 23-JAN JAN-82 7: Show details of employee hire-dates and the date of their first payday. Paydays occur on the last Friday of each month. ENAME HIREDATE FIRSTPAYDAY SMITH 17-DEC-80 FRIDAY 26 DECEMBER 1980 ALLEN 20-FEB-81 FRIDAY 27 FEBRUARY 1981 WARD 22-FEB-81 FRIDAY 27 FEBRUARY 1981 JONES 02-APR-81 FRIDAY 24 APRIL 1981 MARTIN 28-SEP-81 FRIDAY 25 SEPTEMBER 1981 BLAKE 01-MAY-81 FRIDAY 29 MAY 1981 CLARK 09-JUN-81 FRIDAY 26 JUNE 1981 SCOTT 19-APR-87 FRIDAY 24 APRIL 1987 KING 17-NOV-81 FRIDAY 27 NOVEMBER 1981 TURNER 08-SEP-81 FRIDAY 25 SEPTEMBER 1981 ADAMS 23-MAY-87 FRIDAY 29 MAY 1987 JAMES 03-DEC-81 FRIDAY 25 DECEMBER 1981 FORD 03-DEC-81 FRIDAY 25 DECEMBER 1981 MILLER 23-JAN-82 FRIDAY 29 JANUARY 1982
13 Exercise 4: 1: Find the name and salary of employees in Dallas ENAME SAL LOC SMITH 800 DALLAS JONES 2975 DALLAS SCOTT 3000 DALLAS ADAMS 1100 DALLAS FORD 3000 DALLAS 2: Join the DEPT table to the EMP table and show in department number order DEPTNO DNAME JOB ENAME ACCOUNTING MANAGER CLARK 10 ACCOUNTING PRESIDENT KING 10 ACCOUNTING CLERK MILLER 20 RESEARCH CLERK SMITH 20 RESEARCH CLERK ADAMS 20 RESEARCH ANALYST FORD 20 RESEARCH ANALYST SCOTT 20 RESEARCH MANAGER JONES 30 SALES SALESMAN ALLEN 30 SALES MANAGER BLAKE 30 SALES SALESMAN MARTIN 30 SALES CLERK JAMES 30 SALES SALESMAN TURNER 30 SALES SALESMAN WARD 3: List all departments that have employees, plus those departments that do not have employees DEPTNO DNAME JOB ENAME ACCOUNTING MANAGER CLARK 10 ACCOUNTING PRESIDENT KING 10 ACCOUNTING CLERK MILLER 20 RESEARCH CLERK SMITH 20 RESEARCH CLERK ADAMS 20 RESEARCH ANALYST FORD 20 RESEARCH ANALYST SCOTT 20 RESEARCH MANAGER JONES 30 SALES SALESMAN ALLEN 30 SALES MANAGER BLAKE 30 SALES SALESMAN MARTIN 30 SALES CLERK JAMES 30 SALES SALESMAN TURNER 30 SALES SALESMAN WARD 40 OPERATIONS
14 4: List all departments that do not have any employees. DEPTNO DNAME JOB ENAME OPERATIONS 5: Find all the employees that earn more than JONES. Using temporary labels to abbreviate table names. ENAME SAL JOB ENAME SAL JOB SCOTT 3000 ANALYST JONES 2975 MANAGER KING 5000 PRESIDENT JONES 2975 MANAGER FORD 3000 ANALYST JONES 2975 MANAGER 6: For each employee whose salary exceeds his manager s salary, list the employee s name and salary and the manager s name and salary. ENAME SAL ENAME SAL SCOTT 3000 JONES 2975 FORD 3000 JONES 2975
15 Exercise 5: 1: Create a new table called LOANS with columns named LNO number (3), EMPNO number(4), TYPE CHAR(1), AMT number(8,2) 2: Insert the following data: LNO EMP NO TYPE AMT M C M The easiest way to provide evidence for this exercise is to select the material using the mouse and cut/paste into notepad. Then tidy it up putting your name, date and tutorial group on the top and print out. 3: Check that you have created 3 new records in LOANS 4: The loans table must be altered to include another column OUTST NUMBER(8,2) 5: Add 10% interest to all M type loans 6: Remove all loans less than $ : Change the name of LOANS table to ACCOUNTS 8: Change the name of column LNO to LOANNO 9: Create a view for use by personnel in department 30 showing employee name, number, job and hire-date 10: Use the view to show employees in department 30 having jobs which are not SALESMAN 11: Drop Column TYPE from ACCOUNTS table; 12: Create a view which will only show details of employees if it is used between the hours of 11:00 and 13:00 13: Create a view which shows summary information for each department. Hint for question 12: Convert the date using the to-number function Hint for question 13: By summary I mean average, sum etc:
16 Exercise 6: 1: Create a new table called property with columns named Property_number Varchar2(5), Postcode Varchar2(8) having property number as the primary key. 1. Use the describe function to check the table is set up correctly. 2. Check that the primary key has been correctly setup by viewing the constraints. 3. Attempt to enter correct data and data that is invalid such as no primary, duplicate primary keys and note the error. 4. Create a table called owner using the following structure. SQL> desc owner Name Null? Type OWNER_ID NOT NULL VARCHAR2(5) SURNAME NOT NULL VARCHAR2(15) FIRSTNAME VARCHAR2(15) 6. Alter the table called owner to make the owner_id a primary key 7. Create a table called rental using the following structure: create table rental ( 2 rental_id varchar(5) not null, 3 owner_id varchar(5) not null, 4 Property_number varchar(5) not null, 5 surname varchar(15) not null, 6 firstname varchar2(15), 7 primary key (rental_id) 8. Amend the table to add foreign keys as appropriate. 9. Attempt to enter data to check the referential integrity on the rental table 10. View the constraints on the table you have just created.
17 1: List the department number and average salary of each department DEPTNO AVG(SAL) Do the following questions using the group by function 2: Divide all the employees into groups by department and by job within department. Count the employees in each group and compute each group s average annual salary. DEPTNO JOB COUNT(*) AVG(SAL)* CLERK MANAGER PRESIDENT ANALYST CLERK MANAGER CLERK MANAGER SALESMAN rows selected. 3: Issue the same query as above except list the department name rather than the departments number. DNAME JOB COUNT(*) AVG(SAL)* ACCOUNTING CLERK ACCOUNTING MANAGER ACCOUNTING PRESIDENT RESEARCH ANALYST RESEARCH CLERK RESEARCH MANAGER SALES CLERK SALES MANAGER SALES SALESMAN : List the average annual salary for all job groups having more than 2 employees in the group. JOB COUNT(*) AVG(SAL)* CLERK MANAGER SALESMAN : List all the departments that have at least two clerks
18 DEPTNO : Find all departments with an average commission greater than 25% of average salary. DEPTNO AVG(SAL) AVG(COMM) AVG(SAL)* : Find each department s average annual salary for all its employees except the managers and the president. DEPTNO AVG(SAL)* : List the average annual salary for all job groups having more than 2 employees in the group. JOB AVG(SAL)* CLERK MANAGER SALESMAN 16800
19 Exercise 8: 1: List the name and job of employees who have the same job as JONES ENAME JOB JONES MANAGER BLAKE MANAGER CLARK MANAGER Do the following questions using nested subqueries 2: Find all the employees in department 10 that have a job that is the same as anyone in department 30 ENAME JOB MILLER CLERK CLARK MANAGER 3: List the name, job title and salary of employees who have the same job and salary as FORD ENAME JOB SAL SCOTT ANALYST 3000 FORD ANALYST : List the name, job and department of employees who have the same job as JONES or a salary greater than or equal to FORD ENAME JOB DEPTNO SAL SCOTT ANALYST FORD ANALYST CLARK MANAGER BLAKE MANAGER JONES MANAGER KING PRESIDENT rows selected. 5: Find all the employees in department 10 that have a job that is the same as anyone in the SALES department ENAME JOB MILLER CLERK CLARK MANAGER
20 6: Find the employees located in CHICAGO who have the same job as ALLEN. Return the results in alphabetical order by employee name. ENAME LOC SAL JOB ALLEN CHICAGO 1600 SALESMAN MARTIN CHICAGO 1250 SALESMAN TURNER CHICAGO 1500 SALESMAN WARD CHICAGO 1250 SALESMAN 7: Find all the employees that earn more than the average salary of employees in their department. DEPTNO ENAME SAL KING JONES SCOTT FORD ALLEN BLAKE rows selected.
21 Exercise 9: Question1: Use the Emp table and SQL Plus to produce the following two page report Staffordshire University Employee report Page: 1 DEPARTMENT EMPLOYEE SALARY KING $5,000 MILLER $1,300 CLARK $2,450 ********** sum $8, JONES $2,975 ADAMS $1,100 SCOTT $3,000 SMITH $800 FORD $3,000 ********** sum $10,875 School confidential Staffordshire University Employee report Page: 2 DEPARTMENT EMPLOYEE SALARY WARD $1,250 JAMES $950 TURNER $1,500 ALLEN $1,600 MARTIN $1,250 BLAKE $2,850 ********** sum $9, sum $29,025 School confidential 14 rows selected.
22 Question 2: Using Emp produce the following report Produce the following report extracting department 10 and 30 and the jobs of CLERK and SALESMAN make sure that it prints duplicate job values, prints the average of sal and inserts one blank line when the value of job changes and additionally prints the sum of sal and inserts another blank line when the value of deptno changes Employee report 2 Page: 1 Staffordshire University DEPARTMENT JOB EMPLOYEE SALARY CLERK MILLER $1,300 ********* avg $1,300 ********** sum $1, CLERK JAMES $950 ********* avg $950 SALESMAN MARTIN $1,250 SALESMAN ALLEN $1,600 SALESMAN TURNER $1,500 SALESMAN WARD $1,250 ********* avg $1,400 ********** sum $6,550 School confidential
23 Question3: Produce an sql script that shows the following screen(fig 1) and in response to the deptno being entered (in this case 300 will produce the report in fig 2. Please enter a valid department number. For example 10,20,30,40 DEPT:> 30 Fig 1: Staffordshire University Employee report 3 Page:1 DNAME SALES School confidential Fig 2
Chapter 1. Writing Basic. SQL Statements
Chapter 1 Writing Basic SQL Statements 1 Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
More informationProducing Readable Output with SQL*Plus
Producing Readable Output with SQL*Plus Chapter 8 Objectives After completing this lesson, you should be able to do the following: Produce queries that require an input variable Customize the SQL*Plus
More informationDatabase Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB
Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an
More informationDisplaying Data from Multiple Tables
Displaying Data from Multiple Tables 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using eguality and
More informationDisplaying Data from Multiple Tables. Chapter 4
Displaying Data from Multiple Tables Chapter 4 1 Objectives After completing this lesson, you should be able to do the following: Write SELECT statements to access data from more than one table using equality
More informationSubqueries Chapter 6
Subqueries Chapter 6 Objectives After completing this lesson, you should be able to do the follovving: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries
More informationAggregating Data Using Group Functions
Aggregating Data Using Group Functions Objectives Capter 5 After completing this lesson, you should be able to do the following: Identify the available group functions Describe the use of group functions
More informationSQL Introduction Chapter 7, sections 1 & 4. Introduction to SQL. Introduction to SQL. Introduction to SQL
SQL Introduction Chapter 7, sections 1 & 4 Objectives To understand Oracle s SQL client interface Understand the difference between commands to the interface and SQL language. To understand the Oracle
More informationSQL*Plus User s Guide and Reference
SQL*Plus User s Guide and Reference Release 8.0 Part No. A53717 01 Enabling the Information Age SQL*Plus User s Guide and Reference, Release 8.0 Part No. A53717 01 Copyright 1997 Oracle Corporation All
More informationConversion Functions
Conversion Functions Conversion functions convert a value from one datatype to another. Generally, the form of the function names follows the convention datatype TO datatype. The first datatype is the
More informationMONASH UNIVERSITY. Faculty of Information Technology
CSE2132/CSE9002 - Tutorial 1 Database Concept Exercises TOPICS - Database Concepts; Introduction to Oracle Part 1 (To be done in the students own time then discussed in class if necessary.) Hoffer,Prescott
More informationOracle/SQL Tutorial 1
Oracle/SQL Tutorial 1 Michael Gertz Database and Information Systems Group Department of Computer Science University of California, Davis gertz@cs.ucdavis.edu http://www.db.cs.ucdavis.edu This Oracle/SQL
More informationSQL Simple Queries. Chapter 3.1 V3.0. Copyright @ Napier University Dr Gordon Russell
SQL Simple Queries Chapter 3.1 V3.0 Copyright @ Napier University Dr Gordon Russell Introduction SQL is the Structured Query Language It is used to interact with the DBMS SQL can Create Schemas in the
More informationRelational Algebra. Query Languages Review. Operators. Select (σ), Project (π), Union ( ), Difference (-), Join: Natural (*) and Theta ( )
Query Languages Review Relational Algebra SQL Set operators Union Intersection Difference Cartesian product Relational Algebra Operators Relational operators Selection Projection Join Division Douglas
More informationRetrieving Data Using the SQL SELECT Statement. Copyright 2006, Oracle. All rights reserved.
Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement
More informationExamine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25)
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements inserts a row into the table? A. INSERT INTO employees
More informationSQL> SELECT ename, job, sal Salary. 1.4.Will the SELECT statement execute successfully? True/False
BASES DE DATOS Ingeniería Técnica Informática Asignatura Obligatoria: 4.5 + 4.5 créditos (Segundo cuatrimestre) Curso académico 2000/2002 Relación de Ejercicios Prácticos TEMA 1. MANDATO SELECT BÁSICO
More informationDatabase Access from a Programming Language: Database Access from a Programming Language
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationDatabase Access from a Programming Language:
Database Access from a Programming Language: Java s JDBC Werner Nutt Introduction to Databases Free University of Bozen-Bolzano 2 Database Access from a Programming Language Two Approaches 1. Embedding
More informationRDBMS Using Oracle. Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture. kamran.munir@gmail.com. Joining Tables
RDBMS Using Oracle Lecture Week 7 Introduction to Oracle 9i SQL Last Lecture Joining Tables Multiple Table Queries Simple Joins Complex Joins Cartesian Joins Outer Joins Multi table Joins Other Multiple
More informationData Models and Database Management Systems (DBMSs) Dr. Philip Cannata
Data Models and Database Management Systems (DBMSs) Dr. Philip Cannata 1 Data Models in the 1960s, 1970s, and 1980s Hierarchical Network (Graph) Relational Schema (Model) - first 1956 Vern Watts was IMS's
More informationCSC 443 Data Base Management Systems. Basic SQL
CSC 443 Data Base Management Systems Lecture 6 SQL As A Data Definition Language Basic SQL SQL language Considered one of the major reasons for the commercial success of relational databases SQL Structured
More informationMini User's Guide for SQL*Plus T. J. Teorey
Mini User's Guide for SQL*Plus T. J. Teorey Table of Contents Oracle/logging-in 1 Nested subqueries 5 SQL create table/naming rules 2 Complex functions 6 Update commands 3 Save a query/perm table 6 Select
More informationOracle Database 10g Express
Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
More informationMicrosoft Access Lesson 5: Structured Query Language (SQL)
Microsoft Access Lesson 5: Structured Query Language (SQL) Structured Query Language (pronounced S.Q.L. or sequel ) is a standard computing language for retrieving information from and manipulating databases.
More informationRetrieval: Multiple Tables and Aggregation
4487CH08.qxd 11/24/04 10:15 AM Page 191 CHAPTER 8 Retrieval: Multiple Tables and Aggregation This chapter resumes the discussion of the retrieval possibilities of the SQL language. It is a logical continuation
More informationAppendix A Practices and Solutions
Appendix A Practices and Solutions Table of Contents Practices for Lesson I... 3 Practice I-1: Introduction... 4 Practice Solutions I-1: Introduction... 5 Practices for Lesson 1... 11 Practice 1-1: Retrieving
More informationPart A: Data Definition Language (DDL) Schema and Catalog CREAT TABLE. Referential Triggered Actions. CSC 742 Database Management Systems
CSC 74 Database Management Systems Topic #0: SQL Part A: Data Definition Language (DDL) Spring 00 CSC 74: DBMS by Dr. Peng Ning Spring 00 CSC 74: DBMS by Dr. Peng Ning Schema and Catalog Schema A collection
More informationOracle 12c New Features For Developers
Oracle 12c New Features For Developers Presented by: John Jay King Download this paper from: 1 Session Objectives Learn new Oracle 12c features that are geared to developers Know how existing database
More informationA basic create statement for a simple student table would look like the following.
Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));
More informationGUJARAT TECHNOLOGICAL UNIVERSITY
GUJARAT TECHNOLOGICAL UNIVERSITY COMPUTER ENGINEERING (07) / INFORMATION TECHNOLOGY (16) / INFORMATION & COMMUNICATION TECHNOLOGY (32) DATABASE MANAGEMENT SYSTEMS SUBJECT CODE: 2130703 B.E. 3 rd Semester
More informationTeach Yourself InterBase
Teach Yourself InterBase This tutorial takes you step-by-step through the process of creating and using a database using the InterBase Windows ISQL dialog. You learn to create data structures that enforce
More informationOracle SQL. Course Summary. Duration. Objectives
Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data
More informationDavid L. Fuston, dfuston@vlamis.com Vlamis Software Solutions, Inc., www.vlamis.com
Data Warehouse and E-Business Intelligence ORACLE S SQL ANALYTIC FUNCTIONS IN 8i AND 9i David L. Fuston, dfuston@vlamis.com, www.vlamis.com INTRODUCTION The SQL language has traditionally provided little
More informationDate / Time Arithmetic with Oracle
Date / Time Arithmetic with Oracle If you store date and time information in Oracle, you have two different options for the column's datatype - DATE and TIMESTAMP. DATE is the datatype that we are all
More information2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com
Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
More information3.GETTING STARTED WITH ORACLE8i
Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer
More informationLab Assignment 0. 1. Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL
SS Chung Lab Assignment 0 1. Creating a Relational Database Schema from ER Diagram, Populating the Database and Querying over the database with SQL 1. Creating the COMPANY database schema using SQL (DDL)
More informationIT2304: Database Systems 1 (DBS 1)
: Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation
More informationOracle Database: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training teaches you how to write subqueries,
More informationOracle For Beginners Page : 1
Oracle For Beginners Page : 1 Chapter 22 OBJECT TYPES Introduction to object types Creating object type and object Using object type Creating methods Accessing objects using SQL Object Type Dependencies
More informationAnalysis One Code Desc. Transaction Amount. Fiscal Period
Analysis One Code Desc Transaction Amount Fiscal Period 57.63 Oct-12 12.13 Oct-12-38.90 Oct-12-773.00 Oct-12-800.00 Oct-12-187.00 Oct-12-82.00 Oct-12-82.00 Oct-12-110.00 Oct-12-1115.25 Oct-12-71.00 Oct-12-41.00
More informationFOUNDATION DEGREE IN LEADERSHIP AND MANAGEMENT UNDERSTANDING THE BUSINESS ENVIRONMENT MODULE ASSESSMENT PACK
FOUNDATION DEGREE IN LEADERSHIP AND MANAGEMENT UNDERSTANDING THE BUSINESS ENVIRONMENT BSR30229-4 MODULE ASSESSMENT PACK 1 Contents Module Descriptor Assignment Brief Submission Feedback Sheet Contact Details
More informationTO_CHAR Function with Dates
TO_CHAR Function with Dates TO_CHAR(date, 'fmt ) The format model: Must be enclosed in single quotation marks and is case sensitive Can include any valid date format element Has an fm element to remove
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals
More information2. Oracle SQL*PLUS. 60-539 Winter 2015. Some SQL Commands. To connect to a CS server, do:
60-539 Winter 2015 Some SQL Commands 1 Using SSH Secure Shell 3.2.9 to login to CS Systems Note that if you do not have ssh secure shell on your PC, you can download it from www.uwindsor.ca/softwaredepot.
More informationProgramming with SQL
Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using
More informationSQL. Short introduction
SQL Short introduction 1 Overview SQL, which stands for Structured Query Language, is used to communicate with a database. Through SQL one can create, manipulate, query and delete tables and contents.
More informationOracle Database 11g SQL
AO3 - Version: 2 19 June 2016 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries
More informationIntro to Embedded SQL Programming for ILE RPG Developers
Intro to Embedded SQL Programming for ILE RPG Developers Dan Cruikshank DB2 for i Center of Excellence 1 Agenda Reasons for using Embedded SQL Getting started with Embedded SQL Using Host Variables Using
More informationIT2305 Database Systems I (Compulsory)
Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this
More informationProcedural Extension to SQL using Triggers. SS Chung
Procedural Extension to SQL using Triggers SS Chung 1 Content 1 Limitations of Relational Data Model for performing Information Processing 2 Database Triggers in SQL 3 Using Database Triggers for Information
More information- Eliminating redundant data - Ensuring data dependencies makes sense. ie:- data is stored logically
Normalization of databases Database normalization is a technique of organizing the data in the database. Normalization is a systematic approach of decomposing tables to eliminate data redundancy and undesirable
More informationAdvanced SQL. Jim Mason. www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353. jemason@ebt-now.
Advanced SQL Jim Mason jemason@ebt-now.com www.ebt-now.com Web solutions for iseries engineer, build, deploy, support, train 508-728-4353 What We ll Cover SQL and Database environments Managing Database
More informationDatabase Query 1: SQL Basics
Database Query 1: SQL Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic
More informationEuropcar.biz Normal User Guide
Europcar Group UK Limited Europcar.biz Normal User Guide Contents Landing Page Europcar.biz Main Log-in Page - 2 Homepage Europcar.biz Home Page 3 Reservation Placing a Reservation 4 New Reservations 5
More informationDuration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
More informationCIMA Interactive Timetable. 2016 Professional London
CIMA Interactive Timetable 2016 Professional Version 2 Information last updated 08 August 2016 Please note: Information and dates in this timetable are subject to change. CIMA Syllabus Structure Strategic
More informationWHAT ELSE CAN YOUR HOME PHONE DO?
visit a Telstra store 13 2200 telstra.com/home-phone WHAT ELSE CAN YOUR HOME PHONE DO? Everything you need to know about the features that make your home phone more helpful, flexible and useful C020 FEB16
More informationAccess Queries (Office 2003)
Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy
More informationDECLARATION SECTION. BODY STATEMENTS... Required
1 EXCEPTION DECLARATION SECTION Optional BODY STATEMENTS... Required STATEMENTS Optional The above Construction is called PL/SQL BLOCK DATATYPES 2 Binary Integer (-2 **31-1,2**31+1) signed integer fastest
More informationChapter 1 Overview of the SQL Procedure
Chapter 1 Overview of the SQL Procedure 1.1 Features of PROC SQL...1-3 1.2 Selecting Columns and Rows...1-6 1.3 Presenting and Summarizing Data...1-17 1.4 Joining Tables...1-27 1-2 Chapter 1 Overview of
More informationChapter 2: Security in DB2
2. Security in DB2 2-1 DBA Certification Course (Summer 2008) Chapter 2: Security in DB2 Authentication DB2 Authorities Privileges Label-Based Access Control 2. Security in DB2 2-2 Objectives After completing
More informationDEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING DR.NAVALAR NEDUNCHEZHIAYN COLLEGE OF ENGINEERING, THOLUDUR-606303, CUDDALORE DIST.
CS2258-DATABASE MANAGEMENT SYSTEM LABORATORY LABORATORY MANUAL FOR IV SEMESTER B. E / CSE & IT (FOR PRIVATE CIRCULATION ONLY) ACADEMIC YEAR: 2013 2014 (EVEN) ANNA UNIVERSITY, CHENNAI DEPARTMENT OF COMPUTER
More informationEasy-claim. + Oranges have long been. Operating guide for providers. September 2012
Easy-claim Operating guide for providers + Oranges have long been popular as a rich source of vitamin C that can help ward off colds, assist healing and bolster the immune system. September 2012 Copyright
More informationClient Marketing: Sets
Client Marketing Client Marketing: Sets Purpose Client Marketing Sets are used for selecting clients from the client records based on certain criteria you designate. Once the clients are selected, you
More informationHow To Create A Table In Sql 2.5.2.2 (Ahem)
Database Systems Unit 5 Database Implementation: SQL Data Definition Language Learning Goals In this unit you will learn how to transfer a logical data model into a physical database, how to extend or
More informationOracle Database: Introduction to SQL
Oracle University Contact Us: +381 11 2016811 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn Understanding the basic concepts of relational databases ensure refined code by developers.
More information2. DECODE Function, CASE Expression
DECODE Function, CASE Expression 2.1 2. DECODE Function, CASE Expression Introduction to DECODE DECODE Examples Contrast with 9i Case Statement CASE Examples CASE Histograms SKILLBUILDERS DECODE Function,
More informationOracle Database: Introduction to SQL
Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL training
More informationInstant SQL Programming
Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions
More informationREPORT GENERATION USING SQL*PLUS COMMANDS
Oracle For Beginners Page : 1 Chapter 14 REPORT GENERATION USING SQL*PLUS COMMANDS What is a report? Sample report Report script Break command Compute command Column command Ttitle and Btitle commands
More informationCOMP 5138 Relational Database Management Systems. Week 5 : Basic SQL. Today s Agenda. Overview. Basic SQL Queries. Joins Queries
COMP 5138 Relational Database Management Systems Week 5 : Basic COMP5138 "Relational Database Managment Systems" J. Davis 2006 5-1 Today s Agenda Overview Basic Queries Joins Queries Aggregate Functions
More informationProSoftMod Commission Report Documentation
ProSoftMod Commission Report Documentation The purpose of these modifications is to produce commission reports by salesman. The reports can be done by total sales or gross profit. The can also by produced
More informationSQL, PL/SQL FALL Semester 2013
SQL, PL/SQL FALL Semester 2013 Rana Umer Aziz MSc.IT (London, UK) Contact No. 0335-919 7775 enquire@oeconsultant.co.uk EDUCATION CONSULTANT Contact No. 0335-919 7775, 0321-515 3403 www.oeconsultant.co.uk
More informationBAT Smart View for Budget Users. Miami-Dade County. BAT Smart View Training Activity Guide
Miami-Dade County BAT Smart View Training Activity Guide 1 Table of Contents Activity 1: Launch Microsoft Excel, Check User Options and Use the Connection Panel.... 3 Activity 2: Opening BAT Web Forms
More informationIntroduction to SQL for Data Scientists
Introduction to SQL for Data Scientists Ben O. Smith College of Business Administration University of Nebraska at Omaha Learning Objectives By the end of this document you will learn: 1. How to perform
More informationSupplement IV.C: Tutorial for Oracle. For Introduction to Java Programming By Y. Daniel Liang
Supplement IV.C: Tutorial for Oracle For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Connecting and Using Oracle Creating User Accounts Accessing Oracle
More informationwww.gr8ambitionz.com
Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1
More informationIINF 202 Introduction to Data and Databases (Spring 2012)
1 IINF 202 Introduction to Data and Databases (Spring 2012) Class Meets Times: Tuesday 7:15 PM 8:35 PM Thursday 7:15 PM 8:35 PM Location: SS 134 Instructor: Dima Kassab Email: dk155686@albany.edu Office
More informationORACLE 10g Lab Guide
A supplement to: Database Systems: Design, Implementation and Management (International Edition) Rob, Coronel & Crockett (ISBN: 9781844807321) Table of Contents Lab Title Page 1 Introduction to ORACLE
More informationUSING MYWEBSQL FIGURE 1: FIRST AUTHENTICATION LAYER (ENTER YOUR REGULAR SIMMONS USERNAME AND PASSWORD)
USING MYWEBSQL MyWebSQL is a database web administration tool that will be used during LIS 458 & CS 333. This document will provide the basic steps for you to become familiar with the application. 1. To
More informationIntroduction to Microsoft Access 2003
Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft
More informationDatabases What the Specification Says
Databases What the Specification Says Describe flat files and relational databases, explaining the differences between them; Design a simple relational database to the third normal form (3NF), using entityrelationship
More informationOracle 10g PL/SQL Training
Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural
More information9.1 SAS. SQL Query Window. User s Guide
SAS 9.1 SQL Query Window User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS 9.1 SQL Query Window User s Guide. Cary, NC: SAS Institute Inc. SAS
More informationIn This Lecture. SQL Data Definition SQL SQL. Notes. Non-Procedural Programming. Database Systems Lecture 5 Natasha Alechina
This Lecture Database Systems Lecture 5 Natasha Alechina The language, the relational model, and E/R diagrams CREATE TABLE Columns Primary Keys Foreign Keys For more information Connolly and Begg chapter
More information5. CHANGING STRUCTURE AND DATA
Oracle For Beginners Page : 1 5. CHANGING STRUCTURE AND DATA Altering the structure of a table Dropping a table Manipulating data Transaction Locking Read Consistency Summary Exercises Altering the structure
More informationSouth Dakota Board of Regents. Web Time Entry. Student. Training Manual & User s Guide
South Dakota Board of Regents Web Time Entry Student Training Manual & User s Guide Web Time Entry Self Service Web Time Entry is a web-based time entry system designed to improve accuracy and eliminate
More informationODBC Driver Version 4 Manual
ODBC Driver Version 4 Manual Revision Date 12/05/2007 HanDBase is a Registered Trademark of DDH Software, Inc. All information contained in this manual and all software applications mentioned in this manual
More informationOracle Database 12c: Introduction to SQL Ed 1.1
Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,
More informationWelcome to GIology. Welcome to GIology v2 November '08 GIology user guide Page 1 of 49
Welcome to GIology Legal & General Insurance Limited Registered in England No. 423930 Registered office: One Coleman Street, London EC2R 5AA. A member of the Association of British Insurers Authorised
More informationThere are five fields or columns, with names and types as shown above.
3 THE RELATIONAL MODEL Exercise 3.1 Define the following terms: relation schema, relational database schema, domain, attribute, attribute domain, relation instance, relation cardinality, andrelation degree.
More information1.204 Lecture 3. SQL: Basics, Joins SQL
1.204 Lecture 3 SQL: Basics, Joins SQL Structured query language (SQL) used for Data definition (DDL): tables and views (virtual tables). These are the basic operations to convert a data model to a database
More informationBelow is a table called raw_search_log containing details of search queries. user_id INTEGER ID of the user that made the search.
%load_ext sql %sql sqlite:///olap.db OLAP and Cubes Activity 1 Data and Motivation You're given a bunch of data on search queries by users. (We can pretend that these users are Google search users and
More informationUser s Guide for the Texas Assessment Management System
User s Guide for the Texas Assessment Management System Version 8.3 Have a question? Contact Pearson s Austin Operations Center. Call 800-627-0225 for technical support Monday Friday, 7:30 am 5:30 pm (CT),
More information