Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# a) Show the list of databases. # b) Select sakila database. # c) Show all tables in the sakila database. # d) Show each

image text in transcribed
# a) Show the list of databases. # b) Select sakila database. # c) Show all tables in the sakila database. # d) Show each of the columns along with their data types for the actor table. # e) Show the total number of records in the actor table. # f) What is the first name and last name of all the actors in the actor table ? # g) Insert your first name and middle initial ( in the last name column ) into the actors table. # h) Update your middle initial with your last name in the actors table. # i) Delete the record from the actor table where the first name matches your first name. # j) Create a table payment_type with the following specifications and appropriate data types # Table Name : "Payment_type" # Primary Key: "payment_type_id" # Column: "Type" # Insert following rows in to the table: 1, "Credit Card" ; 2, "Cash"; 3, "Paypal" ; 4, "Cheque" # k) Rename table payment_type to payment_types. # 1) Drop the table payment_types

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How China Escaped Shock Therapy The Market Reform Debate

Authors: Isabella M Weber

1st Edition

0429953968, 9780429953965

More Books

Students also viewed these Economics questions

Question

What does this look like?

Answered: 1 week ago