SQL and Relational Theory: How to Write Accurate SQL Code

    By

    SQL is full of difficulties and traps for the unwary. Understanding relational theory is essential for avoiding those traps, but you need to know how to map the ideas of that theory into SQL code. In SQL and Relational Theory, author C.J. Date demonstrates how you can apply relational theory directly to your use of SQL. The second edition includes updated material such as recursive queries, new operators, and extended discussion of topics including aggregate operators, grouping and ungrouping, and view updating. With numerous examples, exercises, and clear explanations, you'll learn how to deal with common SQL dilemmas, such as: * Why is proper column naming so important? * Nulls in your database are causing you to get wrong answers. Why? What can you do about it? * Could you write an SQL query to find employees who have never been in the same department for more than six months at a time? * SQL supports "quantified comparisons," but they're better avoided. Why? How do you avoid them? * Constraints are crucially important, but most SQL products don't support them properly. What can you do to resolve this situation? SQL and Relational Theory draws on decades of research to present the most up-to-date treatment of the material available anywhere. Anyone with a modest to advanced background in SQL will benefit from the many insights in this book.

    View more

    Number of Pages: 446
    Format(s): Paperback - ISBN: 9781449316402
    Publication Date:
    Listed in: Database programming, SQL Server / MS SQL
    Publisher: O'Reilly Media, Inc, USA

    Books by C. J. Date

    Paperback

    RRP: £30.99

    Sale Price: £21.05

    Save: £9.94 per copy!

    Side-Banner-Right-188px-fd.jpg
    Books TV & Movies

    You might also like...

    Latest from the blog

    Fantastic new recipe book from Sabrina Ghayour 'Sirocco'

    Sabrina Ghayour's long awaited second recipe book Sirocco is out this month and is a great follow up to Persianna. Read article

    Ten Great Bedtime Reads from The Great British Bookshop and Aspace

    We have teamed up with Aspace (www.aspace.co.uk) who create beautiful room for Children to bring you 10 great bedtime reads for your little ones. Read article

    Latest from Twitter

    • @TheGBBookshop - 3 years ago

      Lottery funding for dementia reading project £2m pledged for Reading Agency scheme to pair readers with dementia sufferers

      @TheGBBookshop - 3 years ago

      Harry Potter and the Cursed Child has held on to the number one spot for a sixth week #HarryPotter #CursedChild @littlebrown @pottermore

    • @TheGBBookshop - 3 years ago

      @thebookseller @MartinaCole @Jeffrey_Archer @Foyles

      @TheGBBookshop - 3 years ago

      Frith wins inaugural Klaus Flugge Prize for illustration t.co/U9P08h4XMG

    • @TheGBBookshop - 3 years ago

      RT @Gue_de_Bost: #Dordogneholidaycottage available Sept tweet to book for more info

      @TheGBBookshop - 3 years ago

      The editor is just back from france @HomeAwayUK! t.co/IWutTER1x7