/  10
 
Lewis Cunningham
The SQL Starter SeriesBook 1 - DML
An Introduction to the SQL Data Manipulation Language
SQL is
Used By
Oracle
MySQL
Postgres
Ingres
DB2
SQL Server 
Firebird
Other SQL Databases
 
Copyright Notice
© Copyright 2008 Lewis R Cunningham All Rights Reserved.All trademarks and service marks contained within this publication are the properties of their respective owners.The material in this publication (print and electronic) is protected under International andFederal Copyright Laws and Treaties, and as such, any unauthorized reprint or use of thismaterial is strictly prohibited.The material in this electronic publication can be stored only on one computer at one time.You may not copy, forward, or transfer this publication or any part of it, whether in electronicor printed form, to another person or entity.Reproduction or translation of any part of this work without the permission of the copyrightholder is against the law.
 You Do Not Have Resale OrGiveaway Rights To The Electronic Version Of This Book 
 
Table of Contents
Table of Contents
Copyright Notice......................................................................................................................2Preface....................................................................................................................................6About this Book...................................................................................................................6Conventions........................................................................................................................6About the Author .................................................................................................................6Chapter 1 - Introduction...........................................................................................................8SQL.....................................................................................................................................8DML.....................................................................................................................................9DDL.....................................................................................................................................9Data Types........................................................................................................................10
String..........................................................................................................................................11 Numeric......................................................................................................................................13Date............................................................................................................................................14Boolean.......................................................................................................................................15
Expressions and Operators..............................................................................................15Common SQL Functions...................................................................................................17
String Functions.........................................................................................................................17 Numeric Functions.....................................................................................................................18Date Functions............................................................................................................................18Conversion Functions.................................................................................................................19Aggregate Functions..................................................................................................................19
Chapter 2 - Transaction Control............................................................................................21Begin Transaction/End Transaction..................................................................................21Rollback............................................................................................................................22Savepoint..........................................................................................................................23Commit..............................................................................................................................24Chapter 3 - Viewing Data......................................................................................................26Thinking in Sets.................................................................................................................26Select................................................................................................................................27
The SQL Starter DatabaseWisdom.com3

Share & Embed

More from this user

Add a Comment

Characters: ...