Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
SQL - A Practical Introduction

SQL - A Practical Introduction

Ratings: (0)|Views: 468|Likes:
Published by Danish Iqbal
very easy to understand book for SQL Beginners
very easy to understand book for SQL Beginners

More info:

Published by: Danish Iqbal on Apr 12, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





1 INTRODUCTION1.1 A Collection of Related Data : Databases and Database ManagementSystems.1.2 The Database as a Collection of Tables: Relational Databases and SQL.1.2.1 Tables, Columns and Rows.1.2.2 The Primary Key.1.3 Communicating to the DBMS What You Want it to do: Introduction to theSQL language.1.4 A Research Project Conducted by IBM: The History of SQL.1.5 SQL Commands Build Upon Themselves: Organization of This Book.1.5.1 Notational Conventions.2 A ROUGH GUIDE TO SQL.2.1 Consider the Simple Address Book: A Basic Relational Database.2.2 SQL Commands Fall into Different Categories: Subdivisions of SQL.2.3 Enter SQL Statements at the Command Line: Using interpretive SQL.2.4 Use the CREATE TABLE statement: Creating Database Tables.2.5 Use the INSERT INTO Statement: Adding Data to Tables.2.6 Use the SELECT Statement: Extracting data from tables.2.7 Use the UPDATE and DELETE Statements: Modifying data.2.8 Another Kind of Table, Called a Virtual Table: Views.2.9 Prevent Access to Sensitive Information: Database security.
3 CREATING AND MAINTAINING TABLES.3.1 The ANSI Standard Makes Such a Distinction...: The DDL and the ANSI/ISOstandard.3.2 Single and Multiple Database Architectures: The structure of SQL databases. 3.3 Creating a Database Table: The CREATE TABLE command.3.4 Apply Restrictions to Groups of Columns: Column and table modifiers.3.4.1 The NOT NULL modifier.3.4.2 The UNIQUE modifier.3.4.3 The INDEX modifier.3.4.4 The PRIMARY KEY modifier.3.4.5 The FOREIGN KEY modifier.3.4.6 The DEFAULT modifier.3.4.7 The CHECK modifier 3.5 Indexes are Ordered for Extremely Fast Searches: Indexes.3.6 Changing the Structure of a Table: The ALTER TABLE Command.3.7 Remove Redundant Tables from the Database: The DROP TABLECommand.4 QUERYING SQL TABLES.4.1 The most basic query: The Simple SELECT statement.4.1.1 Calculated columns.4.2 Selecting rows for output: The WHERE clause.4.2.1 Comparison Test Operators: =, <, <=, >, >=, <>.4.2.2 Range Test Operator: BETWEEN.4.2.3 Set Membership Test Operator: IN.4.2.4 Pattern Matching Test Operator: LIKE.4.2.5 NULL Value Test Operator: IS NULL.4.2.6 Logical Operators: AND, OR and NOT.4.3 Ordering the output of a query: The ORDER BY clause.4.4 Summary of data in tables: The ANSI aggregate functions.4.4.1 The number of values or rows: The COUNT() function.4.4.2 The total of values: The SUM() function.4.4.3 The average value: The AVG() function.4.4.4 The minimum and maximum values: The MIN() and MAX() functions.

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
gopi_hc liked this
dgosh20028068 liked this
elinzola liked this
elinzola liked this
Hiteshmalho liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->