It doen't show output, fix the code -- Create the Clients table CREATE TABLE Clients ( ClientID VARCHAR2(10) PRIMARY KEY, ClientName VARCHAR2(255), ZipCode VARCHAR2(10), ClientCode VARCHAR2(1), Contact VARCHAR2(255), OrderDate DATE ); -- Commit the changes to save the table structure COMMIT; -- Populate the Clients table with data from Figure 2 INSERT INTO Clients (ClientID, ClientName, ZipCode, ClientCode, Contact, OrderDate) VALUES ('B5182', 'Basic Broadcasting', '60631', 'A', 'Sammy', TO_DATE('08/03/2019', 'MM/DD/YYYY')), ('C1825', 'Computer Capers', '60656', 'A', 'Sammy', TO_DATE('01/18/2020', 'MM/DD/YYYY')), ('D8125', 'David D. Davies', '60625', 'B', 'George', TO_DATE('02/02/2020', 'MM/DD/YYYY')), ('E5051', 'Edward\'s Enterprise', '60604', 'A', 'Paula', TO_DATE('02/28/2020', 'MM/DD/YYYY')), ('F5150', 'Frank\'s Fixtures', '60629', 'C', 'Paula', TO_DATE('01/07/2019', 'MM/DD/YYYY')), ('J4712', 'Jerry\'s Journals', '60634', 'F', 'Pete', TO_DATE('01/22/2020', 'MM/DD/YYYY')), ('M1758', 'Montrose Muffler', '60630', 'A', 'Sammy', TO_DATE('12/13/2019', 'MM/DD/YYYY')), ('M4158', 'Music for the Many', '60656', 'C', 'Paula', TO_DATE('12/02/2019', 'MM/DD/YYYY')), ('S8158', 'Styles on State', '60608', 'A', 'Steve', TO_DATE('02/12/2020', 'MM/DD/YYYY')), ('T0818', 'Taxes and More', '60618', 'B', 'Janet', TO_DATE('12/20/2021', 'MM/DD/YYYY')); -- Commit the changes to save the table structure COMMIT; SELECT ClientID, ClientName FROM Clients WHERE ClientName LIKE '%mu%';

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

It doen't show output, fix the code

-- Create the Clients table

CREATE TABLE Clients (

ClientID VARCHAR2(10) PRIMARY KEY,

ClientName VARCHAR2(255),

ZipCode VARCHAR2(10),

ClientCode VARCHAR2(1),

Contact VARCHAR2(255),

OrderDate DATE

);
-- Commit the changes to save the table structure
COMMIT;

-- Populate the Clients table with data from Figure 2

INSERT INTO Clients (ClientID, ClientName, ZipCode, ClientCode, Contact, OrderDate)

VALUES

('B5182', 'Basic Broadcasting', '60631', 'A', 'Sammy', TO_DATE('08/03/2019', 'MM/DD/YYYY')),

('C1825', 'Computer Capers', '60656', 'A', 'Sammy', TO_DATE('01/18/2020', 'MM/DD/YYYY')),

('D8125', 'David D. Davies', '60625', 'B', 'George', TO_DATE('02/02/2020', 'MM/DD/YYYY')),

('E5051', 'Edward\'s Enterprise', '60604', 'A', 'Paula', TO_DATE('02/28/2020', 'MM/DD/YYYY')),

('F5150', 'Frank\'s Fixtures', '60629', 'C', 'Paula', TO_DATE('01/07/2019', 'MM/DD/YYYY')),

('J4712', 'Jerry\'s Journals', '60634', 'F', 'Pete', TO_DATE('01/22/2020', 'MM/DD/YYYY')),

('M1758', 'Montrose Muffler', '60630', 'A', 'Sammy', TO_DATE('12/13/2019', 'MM/DD/YYYY')),

('M4158', 'Music for the Many', '60656', 'C', 'Paula', TO_DATE('12/02/2019', 'MM/DD/YYYY')),

('S8158', 'Styles on State', '60608', 'A', 'Steve', TO_DATE('02/12/2020', 'MM/DD/YYYY')),

('T0818', 'Taxes and More', '60618', 'B', 'Janet', TO_DATE('12/20/2021', 'MM/DD/YYYY'));

-- Commit the changes to save the table structure
COMMIT;

SELECT ClientID, ClientName
FROM Clients
WHERE ClientName LIKE '%mu%';

Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education