IniziaInizia gratis

Insert

This exercise consists of two parts: In the first, you'll create a new table very similar to the one you created in the previous interactive exercise. After that, you'll insert some data and retrieve it.

You'll continue working with the Chinook database here.

Questo esercizio fa parte del corso

Introduction to SQL Server

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Create the table
CREATE TABLE tracks(
	-- Create track column
	___ ___(200),
    -- Create album column
  	___ ___(160),
	-- Create track_length_mins column
	___ ___
);
-- Select all columns from the new table
SELECT 
  * 
FROM 
  ___;
Modifica ed esegui il codice