You are working with a database table that contains data about music. The table includes columns for track_id, track_name (name of the music track), composer, and bytes (digital storage size of the music track). You are only interested in data about the classical musician Johann Sebastian Bach. You want to know the size of each Bach track in kilobytes. You decide to divide bytes by 1000 to get the size in kilobytes, and use the AS command to store the result in a new column called kilobytes. Add a statement to your SQL query that calculates the size in kilobytes for each track and stores it in a new column as kilobytes. NOTE: The three dots (...) indicate where to add the statement.
SELECT
track_id,
track_name,
composer,
...
FROM
track
WHERE
composer = "Johann Sebastian Bach"

Respuesta :

The statement that completes the query is: bytes / 1000 AS kilobytes

SQL (Structured Query Language)

This is the language that is used to retrieve, update, and store data in the database.

Columns

From the question, we have the following table columns

  • track_id
  • track_name (name of the music track)
  • composer
  • bytes (digital storage size of the music track

To retrieve data from the bytes column, we make use of:

SELECT bytes ......

From the question, we understand that this column should be divided by 1000, and the AS command should be used.

So, the query becomes

SELECT bytes / 1000 AS kilobytes .....

Hence, the statement that completes the query is: bytes / 1000 AS kilobytes

Read more about database at:

https://brainly.com/question/24223730