OMIS-452-SP16 - Week 9a - OMIS 452 Database Management for...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
OMIS 452 Database Management for Business Northern Illinois University Brian Bender
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Agenda Ch. 2 – Intro To SQL (Refresher) Ch. 7 – SQL For DB Construction & App Processing MS SQL Server DB For Business P.4 Introduction – On Thu. A Look Ahead OMIS-452 Week 9a 2
Image of page 2
Ch. 2 – Intro To SQL SQL Background Developed By IBM In The Late 1970’s Endorsed By ANSI In 1986 – American National Standards Institute ISO In 1987 – International Organization For Standardization NOT A Programming Language Data Sublanguage – What Does This Mean? It ONLY Contains Statements Used For Creating & Processing Data And Metadata OMIS-452 Week 9a 3
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch. 2 – Intro To SQL SQL Background DDL – Data Definition Language Creating Tables, Relationships, Structures DML – Data Manipulation Language Querying (CRUD – Create, Read, Update, Delete) PSM – Persistent Stored Modules Extend SQL With Procedural (Limited) Programming Variables, Flow-Of-Control SQL Comments Are Enclosed In Symbols /* Anything In Here Is A Comment */ OMIS-452 Week 9a 4
Image of page 4
Ch. 2 – Intro To SQL SQL Queries (Simple 1 Table) Select/From/Where Distinct Keyword – Only Unique Rows Wildcard Character * All Columns Simple Single Quote ( ) For Text/Dates Retrieving Specified Columns And/Or Rows Students_Tbl Example Columns – Z-ID, LName, FName, E-Mail, Age, Phone, City, State, Zip OMIS-452 Week 9a 5
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch. 2 – Intro To SQL SQL Enhancements Order By Clause Sort Or Sorts Default Result Is ASC (Ascending) Use DESC Keyword For Descending Results Compound Where Clauses And Or In (Multiple – Three (3) Or More Conditions) Not In OMIS-452 Week 9a 6
Image of page 6
Ch. 2 – Intro To SQL SQL Enhancements Ranges BETWEEN Wildcards LIKE Keyword Instead Of Equal (=) Or Exact Match Wildcard Character % Any Sequence Of Zero (0) Or More Characters Wildcard Character _ Any Single, Unspecified Character Wildcard Range [ ] Any Single, Unspecified Character In The Range OMIS-452 Week 9a 7
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Ch. 2 – Intro To SQL SQL Enhancements Group By Clause Grouped According To Common Values With Order By Controls Result Display Order Having Clause Further Restricts Grouped By Results OMIS-452 Week 9a 8
Image of page 8
Ch. 2 – Intro To SQL
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern