1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Blizzard [7]
3 years ago
12

The given SQL creates a Movie table with an auto-incrementing ID column. Write a single INSERT statement immediately after the C

REATE TABLE statement that inserts the following movies:
Title Rating Release Date
Raiders of the Lost Ark PG June 15, 1981
The Godfather R March 24, 1972
The Pursuit of Happyness PG-13 December 15, 2006
Note that dates above need to be converted into YYYY-MM-DD format in the INSERT statement. Run your solution and verify the movies in the result table have the auto-assigned IDs 1, 2, and 3.
CREATE TABLE Movie (
ID INT AUTO_INCREMENT,
Title VARCHAR(100),
Rating CHAR(5) CHECK (Rating IN ('G', 'PG', 'PG-13', 'R')),
ReleaseDate DATE,
PRIMARY KEY (ID)
);
-- Write your INSERT statement here:
Computers and Technology
1 answer:
Snowcat [4.5K]3 years ago
3 0

Answer:

INSERT INTO Movie(Title,Rating,ReleaseDate)

VALUES("Raiders of the Lost ArkPG",'PG',DATE '1981-06-15'),

("The Godfaher",'R',DATE '1972-03-24'),

("The Pursuit of Happyness",'PG-13',DATE '2006-12-15');

Explanation:

The SQL statement uses the "INSERT" clause to added data to the movie table. It uses the single insert statement to add multiple movies by separating the movies in a comma and their details in parenthesis.

You might be interested in
Uhh... What is happening?.. What... Pt 2
Molodets [167]

Pistons being pistons I guess...

4 0
3 years ago
Read 2 more answers
3. In 1989, the first handheld console was released by _____ and it was called ________.
beks73 [17]
Answer: b) Nintendo, Game Boy

In 1989, the first handheld console was released by _Nintendo_ and it was called _Game Boy_.
5 0
3 years ago
If 2 people use my code D9R2M on fetch reward and scan receipts I will give brainliest ​
Ganezh [65]

Answer:

kay

Explanation:

5 0
3 years ago
Read 2 more answers
Suppose we are comparing the implementations of insertion sort and merge sort on the same machine(You don’t need to know the alg
Anuta_ua [19.1K]

Answer:

123456789o0

Explanation:

4 0
3 years ago
In the Dynamic Partitioning technique of memory management, the placement algorithm that scans memory from the location of the l
Shtirlitz [24]

Answer:

best-fit

Explanation:

Best-fit: Closest in size to the request: In the Dynamic Partitioning technique of memory management, the placement algorithm that scans memory from the location of the last placement and chooses the next available block that is large enough to satisfy the request

3 0
3 years ago
Other questions:
  • What is an advantage of sharing documents in PDF format instead of Word format?
    6·2 answers
  • Identify characteristics of top-down programming design. Choose all that apply.
    13·1 answer
  • What term is used to describe the harassment of computer users through various forms of internet communications?
    5·1 answer
  • What are some objects in your home that demonstrate electrical energy to radiant energy to thermal energy
    10·2 answers
  • Send answer below, Thank you
    8·1 answer
  • Which is the most likely reason film companies expanded so quickly?
    8·1 answer
  • Zack is taking a survey that contains questions about his future plans. Which question would most likely be on the survey?
    9·2 answers
  • A Layer 2 switch configuration places all its physical ports into VLAN 2. The IP addressing plan shows that address 172.16.2.250
    7·1 answer
  • Draw the final structure that will house the electronic system​
    15·1 answer
  • Why does it say error on that last line of code
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!