Complete the code to create a relationship between two tables in Tableau.
RELATE TABLE Orders TO Customers ON Orders.CustomerID [1] Customers.CustomerIDIn Tableau, relationships between tables are defined by matching keys using the equals sign (=).
Complete the code to specify the cardinality of a relationship in Tableau.
CREATE RELATIONSHIP BETWEEN Orders AND Customers WITH CARDINALITY [1]Typically, the relationship from Customers to Orders is one-to-many, meaning one customer can have many orders.
Fix the error in the relationship definition code.
RELATE TABLE Sales TO Products ON Sales.ProductID [1] Products.ProductKeyTableau uses a single equals sign (=) to define relationships between keys, not double or triple equals.
Fill both blanks to define a relationship with referential integrity and cardinality.
DEFINE RELATIONSHIP BETWEEN Orders AND Customers ON Orders.CustomerID [1] Customers.CustomerID WITH CARDINALITY [2]
The relationship uses '=' to match keys and 'One-to-Many' to specify cardinality from Customers to Orders.
Fill all three blanks to create a relationship with matching keys, cardinality, and referential integrity.
CREATE RELATIONSHIP BETWEEN Sales [1] Products ON Sales.ProductID [2] Products.ProductID WITH CARDINALITY [3]
The 'AND' connects tables, '=' matches keys, and 'Many-to-One' defines cardinality from Sales to Products.