• Fri frakt över 249 kr
  • •
  • Snabba leveranser
  • •
  • Billiga böcker
Kundservice

Du är på sajten för privatpersoner.

Företag, bibliotek eller offentlig verksamhet?

Du handlar på classic.bokus.com, där alla dina funktioner finns intakta.
Till classic.bokus.com
Bokus logotyp. Gå till startsidan.
  • Erbjudanden
  • Nyheter
  • Student
  • Topplistor
  • Barn & ungdom
  • Bokus Play
  • E-böcker
  • Pocketböcker
  • Spel & pussel

10% studentrabatt med kod TERM26

Sidfot

Mina sidor

    Hjälp

    • Kundservice
    • Vanliga frågor och svar
    • Frakt och leverans
    • Retur vid ångerrätt
    • Reklamera vara
    • Betalning
    • Köpvillkor
    • Allmänna villkor
    • Information om webbplatsens tillgänglighet

    Om Bokus

    • Om oss
    • Pressrum
    • För studenter
    • För företag
    • För bibliotek och offentlig verksamhet
    • För leverantörer
    • Hållbarhet

    Populärt

    • Aktuella erbjudanden
    • Presentkort
    • Studentlitteratur
    • Nya böcker
    • Topplistor
    • Signerade böcker
    • Engelska böcker

    Inspiration

    • Boktips
    • BookTok
    • Populära bokserier
    • Barnbokskaraktärer
    • Populära författare

    Mina sidor

      Hjälp

      • Kundservice
      • Vanliga frågor och svar
      • Frakt och leverans
      • Retur vid ångerrätt
      • Reklamera vara
      • Betalning
      • Köpvillkor
      • Allmänna villkor
      • Information om webbplatsens tillgänglighet

      Om Bokus

      • Om oss
      • Pressrum
      • För studenter
      • För företag
      • För bibliotek och offentlig verksamhet
      • För leverantörer
      • Hållbarhet

      Populärt

      • Aktuella erbjudanden
      • Presentkort
      • Studentlitteratur
      • Nya böcker
      • Topplistor
      • Signerade böcker
      • Engelska böcker

      Inspiration

      • Boktips
      • BookTok
      • Populära bokserier
      • Barnbokskaraktärer
      • Populära författare
      Logotyp för Bokus
      Följ oss på Facebook (extern länk)Följ oss på Instagram (extern länk)Följ oss på YouTube (extern länk)Följ oss på TikTok (extern länk)
      bokus @ CookiesAnpassa cookiesIntegritetspolicyKöpvillkor
      Till Citymail hemsida (extern länk)Till Budbee hemsida (extern länk)Till Postnord hemsida (extern länk)Till Schenker hemsida (extern länk)Till Early Bird hemsida (extern länk)Till Walleys hemsida (extern länk)
      1. Data och IT
      2. Databaser
      • -10% student

      SQL in 10 Minutes a Day, Sams Teach Yourself

      AvBen Forta

      Häftad, Engelska, 2020

      Del i serien Sams Teach Yourself

      266 kr

      Beställningsvara. Skickas inom 7-10 vardagar. Fri frakt över 249 kr.

      Beskrivning

      Whether you're an application developer, database administrator, web application designer, mobile app developer, or Microsoft Office users, a good working knowledge of SQL is an important part of interacting with databases. And Sams Teach Yourself SQL in 10 Minutes offers the straightforward, practical answers you need to help you do your job.


      Expert trainer and popular author Ben Forta teaches you just the parts of SQL you need to know–starting with simple data retrieval and quickly going on to more complex topics including the use of joins, subqueries, stored procedures, cursors, triggers, and table constraints.


      You'll learn methodically, systematically, and simply–in short, quick lessons that will each take only 10 minutes or less to complete.

      Produktinformation

      • Utgivningsdatum:2020-08-25
      • Mått:154 x 228 x 12 mm
      • Vikt:408 g
      • Format:Häftad
      • Språk:Engelska
      • Serie:Sams Teach Yourself
      • Antal sidor:256
      • Upplaga:5
      • Förlag:Pearson Education
      • ISBN:9780135182796

      Ingår i kampanjer

      -10% student

      Utforska kategorier

      • Databaser inom Data och IT
      • Programspråk inom Data och IT

      Mer om författaren

      Ben Forta is Adobe’s Senior Director of Education Initiatives and has three decades of experience in the computer industry in product development, support, training, and product marketing. He is the author of the best-selling Sams Teach Yourself SQL in 10 Minutes (including spinoff titles on MariaDB, MySQL, SQL Server T-SQL, and Oracle PL/SQL), Learning Regular Expressions, as well as books on Java, Windows, and more. He has extensive experience in database design and development, has implemented databases for several highly successful commercial software programs and websites, and is a frequent lecturer and columnist on application development and Internet technologies. Ben lives in Oak Park, Michigan, with his wife, Marcy, and their children. He welcomes your email at ben@forta.com and invites you to visit his website at http://forta.com.

      Innehållsförteckning

      • Introduction 1Who Is the Teach Yourself SQL Book For? . . . . . . . . . . . . . . . . . . . . . . . . . . 1DBMSs Covered in This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Conventions Used in This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Understanding SQL 5Database Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5What Is SQL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Try It Yourself . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 Retrieving Data 13The SELECT Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Retrieving Individual Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Retrieving Multiple Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Retrieving All Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Retrieving Distinct Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Limiting Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19Using Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Sorting Retrieved Data 25Sorting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Sorting by Multiple Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27Sorting by Column Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Specifying Sort Direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314 Filtering Data 33Using the WHERE Clause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33The WHERE Clause Operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405 Advanced Data Filtering 41Combining WHERE Clauses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Using the IN Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Using the NOT Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496 Using Wildcard Filtering 51Using the LIKE Operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51Tips for Using Wildcards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587 Creating Calculated Fields 59Understanding Calculated Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59Concatenating Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Performing Mathematical Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . 65Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688 Using Data Manipulation Functions 69Understanding Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Using Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 789 Summarizing Data 79Using Aggregate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79Aggregates on Distinct Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Combining Aggregate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8810 Grouping Data 89Understanding Data Grouping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Creating Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90Filtering Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91Grouping and Sorting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94SELECT Clause Ordering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9711 Working with Subqueries 99Understanding Subqueries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Filtering by Subquery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Using Subqueries as Calculated Fields . . . . . . . . . . . . . . . . . . . . . . . . . . 103Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10612 Joining Tables 107Understanding Joins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107Creating a Join . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11613 Creating Advanced Joins 117Using Table Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117Using Different Join Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Using Joins with Aggregate Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Using Joins and Join Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12614 Combining Queries 127Understanding Combined Queries. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Creating Combined Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13415 Inserting Data 135Understanding Data Insertion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Copying from One Table to Another . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14316 Updating and Deleting Data 145Updating Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145Deleting Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147Guidelines for Updating and Deleting Data . . . . . . . . . . . . . . . . . . . . . . . 149Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15017 Creating and Manipulating Tables 151Creating Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151Updating Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155Deleting Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157Renaming Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15918 Using Views 161Understanding Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161Creating Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169Challenges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17019 Working with Stored Procedures 171Understanding Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171Understanding Why to Use Stored Procedures . . . . . . . . . . . . . . . . . . . . . 172Executing Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Creating Stored Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17820 Managing Transaction Processing 179Understanding Transaction Processing . . . . . . . . . . . . . . . . . . . . . . . . . . 179Controlling Transactions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18521 Using Cursors 187Understanding Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187Working with Cursors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19222 Understanding Advanced SQL Features 193Understanding Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193Understanding Indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198Understanding Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200Database Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202A Sample Table Scripts 203B SQL Statement Syntax 209C Using SQL Datatypes 215D SQL Reserved Words 221TOC, 9780135182796, 10/9/19
      Hoppa över listan

      Mer från samma författare

      Ben Forta, Shmuel Forta - Captain Code, Häftad

      Captain Code

      Ben Forta, Shmuel Forta

      Häftad, 2022

      175 kr

      Ben Forta - Learning Regular Expressions, Häftad

      Learning Regular Expressions

      Ben Forta

      Häftad, 2018

      245 kr

      Ben Forta - MySQL Crash Course, Häftad

      MySQL Crash Course

      Ben Forta

      Häftad, 2023

      273 kr

      Ben Forta, Monica Burns - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, Häftad

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Ben Forta, Monica Burns

      Häftad, 2019

      289 kr

      Monica Burns, Ben Forta - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, E-bok

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Monica Burns, Ben Forta

      E-bok
      2019

      155 kr

      Monica Burns, Ben Forta - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, E-bok

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Monica Burns, Ben Forta

      E-bok
      2018

      150 kr

      Hoppa över listan

      Mer från samma serie

      Bradley Jones, Peter Aitken, Dean Miller - C Programming in One Hour a Day, Sams Teach Yourself, Häftad
      • -10% student

      C Programming in One Hour a Day, Sams Teach Yourself

      Bradley Jones, Peter Aitken, Dean Miller

      Häftad, 2013

      312 kr

      Siddhartha Rao - C++ in One Hour a Day, Sams Teach Yourself, Häftad

      C++ in One Hour a Day, Sams Teach Yourself

      Siddhartha Rao

      Häftad, 2022

      355 kr

      Greg Perry, Dean Miller - Beginning Programming in 24 Hours, Sams Teach Yourself, Häftad

      Beginning Programming in 24 Hours, Sams Teach Yourself

      Greg Perry, Dean Miller

      Häftad, 2020

      211 kr

      Mike Geig - Unity Game Development in 24 Hours, Sams Teach Yourself, Häftad

      Unity Game Development in 24 Hours, Sams Teach Yourself

      Mike Geig

      Häftad, 2022

      458 kr

      Brad Dayley - jQuery and JavaScript in 24 Hours, Sams Teach Yourself, Övrigt

      jQuery and JavaScript in 24 Hours, Sams Teach Yourself

      Brad Dayley

      315 kr

      Jennifer Kyrnin - Bootstrap in 24 Hours, Sams Teach Yourself, Övrigt

      Bootstrap in 24 Hours, Sams Teach Yourself

      Jennifer Kyrnin

      315 kr

      Jeffrey Fritz - ASP.NET Core in 24 Hours, Sams Teach Yourself, Övrigt

      ASP.NET Core in 24 Hours, Sams Teach Yourself

      Jeffrey Fritz

      300 kr

      Jeffrey Aven - Apache Spark in 24 Hours, Sams Teach Yourself, Övrigt

      Apache Spark in 24 Hours, Sams Teach Yourself

      Jeffrey Aven

      575 kr

      Siddhartha Rao - C++ in One Hour a Day, Sams Teach Yourself, Övrigt

      C++ in One Hour a Day, Sams Teach Yourself

      Siddhartha Rao

      518 kr

      Rogers Cadenhead - Java in 24 Hours, Sams Teach Yourself (Covering Java 9), Övrigt

      Java in 24 Hours, Sams Teach Yourself (Covering Java 9)

      Rogers Cadenhead

      403 kr

      Hoppa över listan

      Du kanske också är intresserad av

      Ben Forta, Monica Burns - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, Häftad

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Ben Forta, Monica Burns

      Häftad, 2019

      289 kr

      Rogers Cadenhead, Jesse Liberty - C++ in 24 Hours, Sams Teach Yourself, Häftad

      C++ in 24 Hours, Sams Teach Yourself

      Rogers Cadenhead, Jesse Liberty

      Häftad, 2016

      5,0 utav 5 stjärnor. Totalt antal röster:(1)

      247 kr

      Monica Burns, Ben Forta - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, E-bok

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Monica Burns, Ben Forta

      E-bok
      2018

      150 kr

      Ben Forta, Shmuel Forta - Captain Code, Häftad

      Captain Code

      Ben Forta, Shmuel Forta

      Häftad, 2022

      175 kr

      Ben Forta - Learning Regular Expressions, Häftad

      Learning Regular Expressions

      Ben Forta

      Häftad, 2018

      245 kr

      Ben Forta - MySQL Crash Course, Häftad

      MySQL Crash Course

      Ben Forta

      Häftad, 2023

      273 kr

      Monica Burns, Ben Forta - 40 Ways to Inject Creativity into Your Classroom with Adobe Spark, E-bok

      40 Ways to Inject Creativity into Your Classroom with Adobe Spark

      Monica Burns, Ben Forta

      E-bok
      2019

      155 kr

      Jeffrey Fritz - ASP.NET Core in 24 Hours, Sams Teach Yourself, Häftad

      ASP.NET Core in 24 Hours, Sams Teach Yourself

      Jeffrey Fritz

      Häftad, 2018

      67 kr

      Mike Geig - Unity Game Development in 24 Hours, Sams Teach Yourself, Häftad

      Unity Game Development in 24 Hours, Sams Teach Yourself

      Mike Geig

      Häftad, 2022

      458 kr

      Greg Perry, Dean Miller - Beginning Programming in 24 Hours, Sams Teach Yourself, Häftad

      Beginning Programming in 24 Hours, Sams Teach Yourself

      Greg Perry, Dean Miller

      Häftad, 2020

      211 kr