SQL Tutorials | 01. Intro Flashcards
SQL is a standard _____ for _____ and _____ databases.
SQL is a standard LANGUAGE for ACCESSING and MANIPULATING databases.
What does SQL stand for?
SQL stands for Structured Query Language
T/F | SQL lets you access and manipulate databases
TRUE
T/F | SQL became a standard of the American National Standards Institute (ANSI) in 1987, and of the International Organization for Standardization (ISO) in 1986
FALSE
SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987
What are the 10 things SQL can do?
- SQL can execute queries against a database
- SQL can retrieve data from a database
- SQL can insert records in a database
- SQL can update records in a database
- SQL can delete records from a database
- SQL can create new databases
- SQL can create new tables in a database
- SQL can create stored procedures in a database
- SQL can create views in a database
- SQL can set permissions on tables, procedures, and views
T/F | Although SQL is an ANSI/ISO standard, there are different versions of the SQL language.
TRUE
What must different versions of the SQL language need to be compliant with the ANSI standard?
To be compliant with the ANSI standard, they all support at least the major commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in a similar manner.
T/F | Some of the SQL database programs also have their own proprietary extensions in addition to the SQL standard.
FALSE
MOST (not some) of the SQL database programs also have their own proprietary extensions in addition to the SQL standard!
What are the things you need to build a website that shows data from a database?
Using SQL In Your Website
To build a web site that shows data from a database, you will need:
- An RDBMS database program (i.e. MS Access, SQL Server, MySQL)
- To use a server-side scripting language, like PHP or ASP
- To use SQL to get the data you want
- To use HTML / CSS to style the page
What does RDBMS stand for?
RDBMS
Relational Database Management System.
Why is RDBMS important?
RDBMS is the basis for SQL, and for all modern database systems such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
What are some modern database systems?
MS SQL Server
IBM DB2
Oracle
MySQL
Microsoft Access.
The data in RDBMS is stored where?
In database objects called tables
What is the definition of a table in SQL?
A table is a collection of related data entries and it consists of columns and rows.
Every table is broken further into what?
Every table is broken up into smaller entities called fields.