MulaiMulai sekarang secara gratis

Applying 1NF

After creating ingredients and reviews entities, it's time to populate them with data from productqualityrating.

This step is crucial to ensure that each value within the ingredients and review is treated as a distinct entry, aligning with the principles of 1NF.

Start by crafting a query to transform and input the unnormalized data into these entities, adhering to the first normal form principles.

Latihan ini adalah bagian dari kursus

Introduction to Data Modeling in Snowflake

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

SELECT
	-- Clean empty values
	___(f.value)
FROM productqualityrating,
-- Add function to split values separated by comma
LATERAL ___(INPUT => SPLIT(productqualityrating.___, ';')) f;
Edit dan Jalankan Kode