Introduction to SQL english ebook

165 498 0
Introduction to SQL english ebook

Đ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

Introduction to SQL Phil Spector Introduction to SQL Phil Spector Statistical Computing Facility University of California, Berkeley Introduction to SQL Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three Subsystems: data description, data access and privileges  Optimized for certain data arrangements  The language is case-sensitive, but I use upper case for keywords. Introduction to SQL When do you need a Database?  Multiple simultaneous changes to data (concurrency)  Data changes on a regular basis  Large data sets where you only need some observations/variables  Share huge data set among many people  Rapid queries with no analysis  Web interfaces to data, especially dynamic data [...]... uses: Storage - data is extracted and analyzed in another application Backends to web sites Traditional rules may not be as important Introduction to SQL Ways to Use SQL Introduction to SQL Ways to Use SQL console command (mysql -u user -p dbname) Introduction to SQL Ways to Use SQL console command (mysql -u user -p dbname) GUI interfaces are often available Introduction to SQL Ways to Use SQL console... command (mysql -u user -p dbname) GUI interfaces are often available Interfaces to many programming languages: R, python, perl, PHP, etc Introduction to SQL Ways to Use SQL console command (mysql -u user -p dbname) GUI interfaces are often available Interfaces to many programming languages: R, python, perl, PHP, etc SQLite - use SQL without a database server Introduction to SQL Ways to Use SQL console... SQL console command (mysql -u user -p dbname) GUI interfaces are often available Interfaces to many programming languages: R, python, perl, PHP, etc SQLite - use SQL without a database server PROC SQL in SAS Introduction to SQL Some Relational Database Concepts Introduction to SQL Some Relational Database Concepts A database server can contain many databases Introduction to SQL Some Relational Database... Uses: Live Queries Introduction to SQL Uses of Databases Traditional Uses: Live Queries Report Generation Introduction to SQL Uses of Databases Traditional Uses: Live Queries Report Generation Normalization, foreign keys, joins, etc Introduction to SQL Uses of Databases Traditional Uses: Live Queries Report Generation Normalization, foreign keys, joins, etc Newer uses: Introduction to SQL Uses of Databases.. .Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Data changes on a regular basis Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Data changes on a regular... analysis Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Data changes on a regular basis Large data sets where you only need some observations/variables Share huge data set among many people Rapid queries with no analysis Web interfaces to data, especially dynamic data Introduction to SQL Uses of Databases Traditional Uses: Introduction to SQL Uses... Normalization, foreign keys, joins, etc Newer uses: Storage - data is extracted and analyzed in another application Introduction to SQL Uses of Databases Traditional Uses: Live Queries Report Generation Normalization, foreign keys, joins, etc Newer uses: Storage - data is extracted and analyzed in another application Backends to web sites Introduction to SQL Uses of Databases Traditional Uses: Live Queries... where you only need some observations/variables Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Data changes on a regular basis Large data sets where you only need some observations/variables Share huge data set among many people Introduction to SQL When do you need a Database? Multiple simultaneous changes to data (concurrency) Data changes on a regular... Concepts A database server can contain many databases Databases are collections of tables Introduction to SQL Some Relational Database Concepts A database server can contain many databases Databases are collections of tables Tables are two-dimensional with rows (observations) and columns (variables) Introduction to SQL Some Relational Database Concepts A database server can contain many databases Databases... can contain many databases Databases are collections of tables Tables are two-dimensional with rows (observations) and columns (variables) Limited mathematical and summary operations available Introduction to SQL Some Relational Database Concepts A database server can contain many databases Databases are collections of tables Tables are two-dimensional with rows (observations) and columns (variables) . Introduction to SQL Phil Spector Introduction to SQL Phil Spector Statistical Computing Facility University of California, Berkeley Introduction to SQL Introduction to SQL What is SQL?  Structured. case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three. case for keywords. Introduction to SQL What is SQL?  Structured Query Language  Usually “talk” to a database server  Used as front end to many databases (mysql, postgresql, oracle, sybase)  Three

Ngày đăng: 22/10/2014, 16:47

Từ khóa liên quan

Mục lục

  • Overview of SQL

  • Databases

  • Creating Database Tables

  • Querying a Database

  • More traditional databases

  • Using SQL in Other Programs

  • Appendix

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

  • Đang cập nhật ...

Tài liệu liên quan