SQL / MySQL
Power BI
SQL / MySQL
Random
100

What SQL statement is used to extract data from a database?

SELECT
100

Can you have more than 2 active relationship between 2 tables?

NO

100

What SQL statement is used to edit a view or stored procedure?

ALTER

100

Give atleast 3 example of Power BI Visualizations

Pie Chart, Bar Chart, Donut Chart, Stacked Bar Chart... etc

200

What SQL statement is used to return only different values? (SELECT Unique, SELECT Distinct or SELECT Different)

Distinct

200

What is the difference between SUM and SUMX?

The sum function (Sum()) takes the data columns and aggregates them totally but the SumX function (SumX()) lets you filter the data which you are adding.

200

How can you return all the records from a table named sorted alphabetically?

ORDER BY

200

Give atleast 3 example of Power BI Common Data Sources

Excel, ODBC, csv, OData, Web, Sharepoint...

300

The OR operator displays a record if ANY conditions listed are true. 

TRUE
300

Give 3 example of DAX Time Intelligence

DATEADD, MTD, YTD, DATEDIFF

300

The AND operator displays a record if ALL of the conditions listed are true.

TRUE
300

What is the schema commonly used in Power BI?

Star Schema

400

How can you return the number of records in the table?

SELECT COUNT(*)

400

What  is the difference between filters and slicers?

 Using Normal filters users were not allowed to interact with dashboards or reports, but using slicers we can interact with dashboards and reports.


400

Give atleast 3 types of Join

LEFT JOIN, RIGHT JOIN, INNER JOIN
400
Give atleast 3 sample of DATATYPES

INT, VARCHAR, DATE, DATETIME, TEXT

500

Difference between VIEW and STORED PROCEDURE

A view is faster as it displays data from the tables referenced whereas a store procedure executes sql statements.

500

What are the 2 types of data pulling in Power BI?

Direct Queries and Import Queries

500

Select a WHERE statement you'll only get values starting with P

WHERE Column LIKE 'P%'

500

Give atleast 2 common indexes used in MySQL and SQL

WHERE, ORDER BY, GROUP BY, MIN, MAX...