Fundamentals Flashcards

1
Q

Chronicles

A

Post-relational database

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

Clarity

A
  1. Is the relational database

2. The process of moving production data to this relational database (ETL process)

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

Operational Reporting

A

Time sensitive / relatively small / Accessible in Hyperspace / Actionable (used as part of a workflow)

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

Operation Rptg Tools

A

Application reports: DAR, ASAP Track Board,
Reporting Workbench: flexible, more report like

KB-SQL: mainly used in the Clarity extract process
Chronicles Ad-Hoc: available in Text only
Cache Script: programming language on which Chronicles is built

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

Analytical Reporting

A

Comprehensive, Summarized, Standardized. A year, a month, many departments… trending

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

What is the main difference between grouping in SQL and grouping in Crystal Reports

A

SQL’s Group By collapses the results into groups, no longer displaying the details.

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

Aggregate functions perform a specific operation over all rows in a group.

A

COUNT(*) - Counts all rows
COUNT(value) - counts all non-null values
AVG(value) - averages all non-null values
MAX(value) - returns highest value
MIN(value) - returns lowest value
SUM(value) - returns the sum (total) of all non-null values

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

In Crystal why would you use ‘Show SQL query’?

A

To verify two things:

  1. All the record selection criteria is in the WHERE clause.
  2. SQL syntax makes sense.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why do NULLs exist in Epic?

A
  1. fields are not required
  2. data in one table may be more up to date than another
  3. poorly or incorrectly formatted data may be deleted, resulting in a null.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

IsNull( ) returns True if the field contains a null value. Why is it handy?

A

Use it to give nulls a default value, *No Attending Provider If… Then… Else

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

What are two ways of handling null values?

A

Assign a default value.

Filter them from your report.

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

If you are using a function or operator and want more information about it, what are two ways to open Crystal Reports online help?

A

F1 and the ? button.

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

True or False: a clarity table with only one column listed as the primary key will always hold no-add, single-response data.

A

False. ID (no-add,single) or CSN (overtime, single)

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

Your clarity ETL administrator has created a custom Clarity column in your environment to extract a previously unextracted item. Which tool(s) can you use to look up information about that clarity column?

A

Clarity Compass

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

What is the difference between a foreign key and a primary key?

A

A foreign key serves as a link between two tables. A primary key is a unique identifier.

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

If you include multiple database objects in your report and do not link them Crystal will attempt to combine every row in the first table with every row in the second. The result is this…?

A

Cartesian product

17
Q

What are the Data Types in SQL…

A

VARCHAR, NUMERIC, DATETIME, FLOAT (cdr is the only float date), INTEGER (category)

18
Q

SQL queries are written with their clauses in what order?

A

SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY

19
Q

SQL query clauses are processed in what order?

A

FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY

20
Q

On the SQL Editor what are two ways to run your query?

A

F5 or by clicking the Execute! button.

21
Q

UNION or UNION ALL are used for what purpose?

A

Combine two separate groups of results. Buy default they return only distinct values. Use UNION ALL to allow duplicate values.

22
Q

True/False: After inserting a Command object you can add additional tables in Crystal.

A

False. Crystal will often perform a Cartesian product of the results and filter it locally.

23
Q

True/False: A Command Object always makes your report run faster!

A

False. It does give you more control over what actions are performed on the server.

24
Q

True/False: Formatting doesn’t matter when pasting a SQL query into a command object.

A

True

25
Q

What feature can be added to a SQL query using a command object from Crystal Reports?

A

Parameters

26
Q

SQL subqueries can be contained in what clauses?

A

SELECT, FROM and WHERE

27
Q

True/False: A correlated query can slow down your report.

A

True. Correlated subqueries are executed once for each row in the parent.

28
Q

Using a subquery in the FROM clause, is often referred to as an…

A

Inline View. Most useful when returning multiple rows and columns

29
Q

Each named query in the WITH clause is called a…

A

Common Table Expression (CTE)

30
Q

If you have multiple subqueries in the FROM clause of your PARENT query, what do you need to do to combine them?

A

Join them together, as you would tables in the FROM clause.

31
Q

What are the three conditions for using UNION and UNION ALL?

A

Have to have the same # of columns.
Have to be similar data types.
Columns have to be in the same order.

32
Q

True/False: Grouping in SQL is equivalent to grouping in Crystal?

A

False. SQL summarizes the group, eliminating the details.

33
Q

What keyword can you use to change the direction of a sort in SQL?

A

DESC (ascending is default)

34
Q

Epic Standard SQL Functions (EFN_)

A

A library of User Defined Functions (UDFs) developed and released by Epic. Make their SQL code database independent.

35
Q

True/False: All functions require the use of parenthesis, regardless of whether or not they take any arguments.

A

False. CURRENT_TIMESTAMP !!

36
Q

SP_HELPINDEX

A

Will pull the list of indexed columns for a given table.

37
Q

True/False: You can put aggregate functions in any clause.

A

False. The WHERE clause does not handle aggregate functions, you must add a HAVING clause