SQL Tutorials | 01. Intro Flashcards

1
Q

SQL is a standard _____ for _____ and _____ databases.

A

SQL is a standard LANGUAGE for ACCESSING and MANIPULATING databases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does SQL stand for?

A

SQL stands for Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

T/F | SQL lets you access and manipulate databases

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A

FALSE

SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 10 things SQL can do?

A
  1. SQL can execute queries against a database
  2. SQL can retrieve data from a database
  3. SQL can insert records in a database
  4. SQL can update records in a database
  5. SQL can delete records from a database
  6. SQL can create new databases
  7. SQL can create new tables in a database
  8. SQL can create stored procedures in a database
  9. SQL can create views in a database
  10. SQL can set permissions on tables, procedures, and views
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F | Although SQL is an ANSI/ISO standard, there are different versions of the SQL language.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What must different versions of the SQL language need to be compliant with the ANSI standard?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

T/F | Some of the SQL database programs also have their own proprietary extensions in addition to the SQL standard.

A

FALSE

MOST (not some) of the SQL database programs also have their own proprietary extensions in addition to the SQL standard!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the things you need to build a website that shows data from a database?

A

Using SQL In Your Website

To build a web site that shows data from a database, you will need:

  1. An RDBMS database program (i.e. MS Access, SQL Server, MySQL)
  2. To use a server-side scripting language, like PHP or ASP
  3. To use SQL to get the data you want
  4. To use HTML / CSS to style the page
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does RDBMS stand for?

A

RDBMS

Relational Database Management System.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why is RDBMS important?

A

RDBMS is the basis for SQL, and for all modern database systems such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some modern database systems?

A

MS SQL Server
IBM DB2
Oracle
MySQL
Microsoft Access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The data in RDBMS is stored where?

A

In database objects called tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the definition of a table in SQL?

A

A table is a collection of related data entries and it consists of columns and rows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Every table is broken further into what?

A

Every table is broken up into smaller entities called fields.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the definition of a field in SQL?

A

A field is a column in a table that is designed to maintain specific information about every record in the table.

17
Q

What is the definition of a record in SQL?

A

A record, also called a row, is each individual entry that exists in a table. For example, there are 91 records in the above Customers table. A record is a horizontal entity in a table.

18
Q

What are other names for field?

A

Column, Attribute (less common)

19
Q

What are other names for record?

A

Row, Tuple (less common)

20
Q

What is a column in SQL?

A

A column is a vertical entity in a table that contains all information associated with a specific field in a table.