Beginning SQL Queries.pdf

(9374 KB) Pobierz
373155618 UNPDF
The eXperT’s Voice ® in DaTaBases
Beginning
SQL Queries
From Novice to Professional
A thoughtful approach to learning SQL that helps you
think about the language—and about your data—so that
you can apply the right operations to the right problem to
generate the right results, every time.
Clare Churcher
373155618.092.png 373155618.102.png 373155618.113.png 373155618.123.png 373155618.001.png 373155618.012.png 373155618.023.png 373155618.034.png 373155618.045.png 373155618.052.png 373155618.053.png 373155618.054.png 373155618.055.png 373155618.056.png 373155618.057.png 373155618.058.png 373155618.059.png 373155618.060.png 373155618.061.png 373155618.062.png 373155618.063.png 373155618.064.png 373155618.065.png 373155618.066.png 373155618.067.png 373155618.068.png 373155618.069.png 373155618.070.png 373155618.071.png 373155618.072.png 373155618.073.png 373155618.074.png 373155618.075.png 373155618.076.png 373155618.077.png 373155618.078.png 373155618.079.png 373155618.080.png 373155618.081.png
 
373155618.082.png
 
373155618.083.png
 
373155618.084.png
 
373155618.085.png
 
373155618.086.png 373155618.087.png 373155618.088.png 373155618.089.png 373155618.090.png 373155618.091.png 373155618.093.png 373155618.094.png 373155618.095.png 373155618.096.png 373155618.097.png
 
373155618.098.png 373155618.099.png 373155618.100.png 373155618.101.png 373155618.103.png 373155618.104.png 373155618.105.png 373155618.106.png 373155618.107.png 373155618.108.png 373155618.109.png 373155618.110.png 373155618.111.png 373155618.112.png 373155618.114.png 373155618.115.png 373155618.116.png 373155618.117.png 373155618.118.png 373155618.119.png 373155618.120.png
 
Beginning SQL Queries
From Novice to Professional
■■■
Clare Churcher
373155618.121.png 373155618.122.png 373155618.124.png 373155618.125.png 373155618.126.png 373155618.127.png 373155618.128.png 373155618.129.png 373155618.130.png 373155618.131.png 373155618.132.png 373155618.133.png 373155618.002.png 373155618.003.png 373155618.004.png 373155618.005.png 373155618.006.png 373155618.007.png 373155618.008.png 373155618.009.png
Beginning SQL Queries: From Novice to Professional
Copyright © 2008 by Clare Churcher
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-59059-943-3
ISBN-10 (pbk): 1-59059-943-8
ISBN-13 (electronic): 978-1-4302-0550-0
ISBN-10 (electronic): 1-4302-0550-4
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Jonathan Gennick
Technical Reviewer: Darl Kuhn
Editorial Board: Clay Andres, Steve Anglin, Ewan Buckingham, Tony Campbell, Gary Cornell,
Jonathan Gennick, Matthew Moodie, Joseph Ottinger, Jeffrey Pepper, Frank Pohlmann,
Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Project Manager: Beth Christmas
Copy Editors: Marilyn Smith, Kim Wimpsett
Associate Production Director: Kari Brooks-Copony
Production Editor: Ellie Fountain
Compositor: Susan Glinert
Proofreaders: Linda Seifert, Liz Welch
Indexer: Broccoli Information Management
Artist: April Milne
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders- ny@springer-sbm.com , or
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600,
Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com , or visit http://
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at http://www.apress.com/info/bulksales .
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to
any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly
by the information contained in this work.
373155618.010.png 373155618.011.png 373155618.013.png 373155618.014.png 373155618.015.png 373155618.016.png 373155618.017.png 373155618.018.png 373155618.019.png 373155618.020.png 373155618.021.png 373155618.022.png 373155618.024.png 373155618.025.png 373155618.026.png 373155618.027.png 373155618.028.png 373155618.029.png 373155618.030.png
To Mark and Ali
373155618.031.png 373155618.032.png 373155618.033.png 373155618.035.png 373155618.036.png 373155618.037.png 373155618.038.png 373155618.039.png 373155618.040.png 373155618.041.png 373155618.042.png 373155618.043.png 373155618.044.png 373155618.046.png 373155618.047.png 373155618.048.png 373155618.049.png 373155618.050.png 373155618.051.png
Zgłoś jeśli naruszono regulamin