Learning SQL, 2nd Edition potx

330 333 0
Learning SQL, 2nd Edition potx

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition Chapter 1 A Little Background Before we roll up our sleeves and get to work, it might be beneficial to introduce some basic database concepts and look at the history of computerized data storage and retrieval SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 1.1 Introduction to Databases A database... c:\temp\LearningSQLExample .sql, you would need to do the following: 1 If you have logged out of the mysql tool, repeat steps 7 and 8 from Table 2-1 2 Type source c:\temp\LearningSQLExample.sql; and press Enter You should now have a working database populated with all the data needed for the examples in this book SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition. .. Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 2.3 MySQL Data Types In general, all the popular database servers have the capacity to store the same types of data, such as strings, dates, and numbers Where they typically differ is in the specialty data types, such as XML documents or very large text or binary documents Since this is an introductory book on SQL, and since 98% of the columns... database implementations Instead, Appendix B covers some of these features for readers who are planning to continue using MySQL SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 1.4 What's in Store The overall goal of the next four chapters is to introduce the SQL data statements, with a special emphasis on the three main clauses of the select statement Additionally,... and Analysis: A Historical Account and Assessment of E F Codd's Contribution to the Field of Database Technology (Addison-Wesley) SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition Chapter 2 Creating and Populating a Database This chapter provides you with the information you need to create your first database and to create the tables and associated data used for... MySQL database, this chapter is somewhat skewed toward MySQL's features and syntax, but most concepts are applicable to any server SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 2.1 Creating a MySQL Database If you already have a MySQL database server available for your use, you can skip the installation instructions and start with the instructions in Table 2-1... more columns that can be used together to identify a single row in another table Table 1-1 Terms and definitions Term Definition SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 1.2 What Is SQL? Along with Codd's definition of the relational model, he proposed a language called DSL/Alpha for manipulating the data in relational tables Shortly after Codd's paper... something unexpected (like when you forget to put a where clause on your delete statement and delete every row in the table!) SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 1.3 What Is MySQL? Relational databases have been available commercially for over two decades Some of the most mature and popular commercial products include: Oracle Database from Oracle... the other, but it is simpler to use a single time column Chapter 7 explores how to work with each of these temporal data types SQL SQL Databases Programming Alan Beaulieu O'Reilly Media, Inc Learning SQL, 2nd Edition 2.4 Table Creation Now that you have a firm grasp on what data types may be stored in a MySQL database, it's time to see how to use these types in table definitions Let's start by defining... practitioner For readers interested in learning more about relational databases, the history of computerized database systems, or the SQL language than was covered in this short introduction, here are a few resources worth checking out: C.J Date's Database in Depth: Relational Theory for Practitioners (O'Reilly) C.J Date's An Introduction to Database Systems, Eighth Edition (Addison-Wesley) C.J Date's . with data. With Learning SQL, you'll quickly learn how to put the power and flexibility of this language to work. Learning SQL, 2nd Edition By Alan. With Learning SQL, you'll quickly learn how to put the power and flexibility of this language to work. [ Team Unknown ] Learning SQL, 2nd Edition By

Ngày đăng: 23/03/2014, 00:20

Từ khóa liên quan

Mục lục

  • Learning SQL, 2nd Edition @ TeamUnknown RLS

Tài liệu cùng người dùng

Tài liệu liên quan