Sams Teach Yourself SQL in 10 Minutes, Fourth Edition
New full-color code examples help you see how SQL statements are structured
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 22 short, quick lessons that will each take only 10 minutes or less to complete.
With the Fourth Edition of this worldwide bestseller, the book has been thoroughly updated, expanded, and improved. Lessons now cover the latest versions of IBM DB2, Microsoft Access, Microsoft SQL Server, MySQL, Oracle, PostgreSQL, SQLite, MariaDB, and Apache Open Office Base. And new full-color SQL code listings help the beginner clearly see the elements and structure of the language.
Use the major SQL statements Construct complex SQL statements using multiple clauses and operators Retrieve, sort, and format database contents Pinpoint the data you need using a variety of filtering techniques Use aggregate functions to summarize data Join two or more related tables Insert, update, and delete data Create and alter database tables Work with views, stored procedures, and more Table of Contents
2 Retrieving Data
4 Filtering Data
5 Advanced Data Filtering
6 Using Wildcard Filtering
7 Creating Calculated Fields
8 Using Data Manipulation Functions
9 Summarizing Data
10 Grouping Data
11 Working with Subqueries
12 Joining Tables
13 Creating Advanced Joins
14 Combining Queries
15 Inserting Data
16 Updating and Deleting Data
17 Creating and Manipulating Tables
18 Using Views
19 Working with Stored Procedures
20 Managing Transaction Processing
21 Using Cursors
22 Understanding Advanced SQL Features
Appendix A: Sample Table Scripts
Appendix B: Working in Popular Applications
Appendix C : SQL Statement Syntax
Appendix E: SQL Reserved Words
Traditional democratic structures in the Western world are coming under increasing pressure. A combination of political corruption, voter apathy and attacks on the rights of the citizen are being driven by authoritarian tendencies not seen for generations. In turn, this is being stoked by an artificial climate of fear, choreographed as a narrative of external terrorist threats and war against yet another "evil empire".
Much of the decision-making of government has been bought or hijacked by big business, whilst a whole generation of citizens has become increasingly cynical about the probity and ethics of their politicians. The current extent of public distrust and antagonism for the political elite is matched only by shocking levels of voter apathy throughout the democratic world.
This situation has created an unhealthy and perilous disconnection between the electorate and the political classes. As in any evolving environment, this gap is being filled. In this case, the democratic deficit is being bypassed using various forms of civil rebellion as a substitute for a functioning parliamentary system.
Nonviolent rebellion has a long history, but since the industrial revolution the use of organised civil disobedience has become increasingly widespread and refined. With the advent of the internet, civil rebellion itself has been totally revolutionised. The rules of the game have truly changed and control of "the truth" has, to some extent, finally been democratised.
These days, the big beasts on the political landscape are no longer labour unions fighting a local cause, but global movements, representing hundreds of millions of activists across a borderless world. And their armoury is formidable. Even the smallest local protest group has been immensely empowered by recent technological change.
Here we present a practical guide to civil rebellion, defining more than 300 separate ways in which citizens may effectively deliver a protest to an authority and the public, either alone or in a group.
In comparison with the ballot box, civil disobedience seems a rough way of dealing with authority. But, in the absence of a functioning democracy, it is rapidly becoming the last resort of the citizen to defend their freedom from an increasingly reviled, dysfunctional and autocratic political establishment.
This book is a practical guide. It is designed to help in the routine planning and organisation of peaceful protest. But the book also includes a history of civil rebellion and a moral and legal discussion of how civil disobedience may be used to achieve political objectives. This practical information is supported by a description of the best techniques for use in the strategic planning of protest actions and the management of protest organisations.
Though based on a wealth of protest history, the emphasis of this book is on contemporary protest and it focuses especially on the impact of internet and communications technology on current protest campaigns.
Politically, this guide pays particular attention to the techniques used by authorities to infiltrate and undermine legitimate civil protest movements and how these efforts can be detected and managed by a protest group. The book also provides practical advice on using similar subversive techniques against unscrupulous authorities.
Above all, the objective of this guide is to facilitate responsible political activists in delivering powerful, effective, nonviolent protests to an authority and to do this in a way which positively reinforces the concepts of democracy and universal human rights.
At a time when both democracy and human rights are threatened by the constant attacks by political opportunists, civil disobedience is beginning to move centre stage. Indeed, it seems to be rapidly becoming the only show in town for the aggrieved citizen of liberal persuasions in a world drowning in political corruption, popular apathy and short-sighted, populist political culture.
Global food is not a nice business. It is controlled by a small cartel of unscrupulous, profit-grubbing multinationals with little or no regard for the consumer, their workers or the planet. It is an industry riddled by safety scandals, the nutritional quality of our food is in free-fall and diet related illness has now become epidemic. Intensive agriculture is steadily destroying the planet, contaminating water and air with artificial fertilisers and pesticides, degrading farmland, causing deforestation and pumping out greenhouse gases faster than the world's entire transport system. Meanwhile Big Food's rapacious appetite for profit knows no limits as it bribes its way through the 3rd world in a huge land grab, dumping untested GM seed on a new generation of farmer-slaves. But all is not lost! A new movement of real, organic and ethical food is on the brink of a renaissance. Read on to understand how Big Food really works and how to reclaim control over our own food once again.