PCLC Flashcards
Which of the following are differences between a spreadsheet (e.g. Excel) and a table in a relationship database?
- each column in a relationship database must contain the same data type
- a table in a relational database must contain a unique identifier
T/F: Each table in a relational database can have multiple foreign keys and the foreign keys cannot contain duplicate values
F (each table can have multiple foreign keys and the foreign keys can contain duplicate values)
T/F: Relational databases are the optimal way to store data, while flat files are the optimal way for humans to visually consume data and are also optimal for analyzing data.
True
What kind of relationship is this? - each record in the tblOrders table may match to several records in the tblOrderDetails table
one-to-many relationship
If you would like to query multiple fields from a relational table and simultaneously rename some of the fields, you would use the following SQL commands:
FROM - specific table we want to extract from
AS - renames fields
SELECT - specifics what we want to view
T/F: The default order for the ORDER BY command in SQL is ascending order.
True
a ____ tool allows us to see the entire contents of a dataset and allows us to assess the quality, distribution, and attributes of the data
Browse
Alteryx __ can be used for a number of data preparation and analytic tasks, such as a) cleansing string data, b) applying conditional logic, or c) mathematically transforming numeric values
Expressions
In the Alteryx FORMULA tool, where do we enter expressions?
Expression editor
Use ___ functions to remove unwanted characters, including whitespace, from string data
trim
An INPUT DATA tool and a ___ tool can be used together to input data from multiple sheets within the same Excel file
DYNAMIC INPUT
Basic conditional statements in Alteryx are composed of how many parts?
4 - IF, THEN, ELSE, ENDIF
THE Alteryx TEXT TO COLUMNS tool belongs to this category of tools in the tool pallet:
PARSE
What Alteryx tool can accomplish similar tasks as a VLOOKUP formula in Excel?
FIND REPLACE
In order to parse data with RegEx, we must identify ___ in the data
patterns