W3. SQL Intro Flashcards

1
Q

Q: What does SQL stand for?

A

A: Structured Query Language.

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

Q: What is SQL primarily used for?

A

A: Accessing and manipulating databases.

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

Q: Name three actions SQL can perform on a database.

A

A: SQL can retrieve data, insert records, and delete records from a database.

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

Q: Can SQL be used to create new databases and tables?

A

A: Yes, SQL can create new databases and tables.

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

Q: What types of permissions can SQL set in a database?

A

A: Permissions on tables, procedures, and views.

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

Q: Is SQL the same across all databases?

A

A: No, there are different versions, but they all support major commands like SELECT, UPDATE, DELETE, and INSERT.

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

Q: What additional components are needed to display SQL data on a website?

A

A: An RDBMS (e.g., MySQL), server-side scripting (e.g., PHP), and HTML/CSS for styling.

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

Q: What does RDBMS stand for?

A

A: Relational Database Management System.

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

Q: Name some examples of RDBMS.

A

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
10
Q

Q: In an RDBMS, where is data stored?

A

A: In database objects called tables.

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

Q: What is a table in SQL?

A

A: A collection of related data entries consisting of columns and rows.

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

Q: What is a field in an SQL table?

A

A: A column designed to maintain specific information about each record in the table.

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

Q: Define a record in SQL.

A

A: Also known as a row, it is an individual entry in a table.

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

Q: What is a column in SQL?

A

A: A vertical entity in a table containing all data for a specific field.

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

Q: Provide an example SQL command to retrieve all data from a table called “Customers.”

A

A: SELECT * FROM Customers;

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