Insert the following records into their corresponding tables, using the MySQL CLI. Take a screenshot of a Select * command being successfully executed on each table (6 total). School School Number Name Address PhoneNumber built size 54 John Adams High School 8226 Selby Lane 5056444088 2012-12-13 118500 45 Hogwarts School of Witchcraft and Wizardry 738 North Williams Ave. 5056448362 2001-11-14 414000 119 Dillon High School 475 South University Ave. 5058672818 2006-10-03 102598 345 Green Dale High 772 Grand St. 5056624410 2009-09-17 250345 93 Bayside High 7914 Aspen Drive 5057756575 2000-08-20 175645

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 3.10CP
icon
Related questions
icon
Concept explainers
Question

Insert the following records into their corresponding tables, using the MySQL CLI. Take a screenshot of a Select * command being successfully executed on each table (6 total).

School

School Number

Name

Address

PhoneNumber

built

size

54

John Adams High School

8226 Selby Lane

5056444088

2012-12-13

118500

45

Hogwarts School of Witchcraft and Wizardry

738 North Williams Ave.

5056448362

2001-11-14

414000

119

Dillon High School

475 South University Ave.

5058672818

2006-10-03

102598

345

Green Dale High

772 Grand St.

5056624410

2009-09-17

250345

93

Bayside High

7914 Aspen Drive

5057756575

2000-08-20

175645

Expert Solution
Overview

In this question we have to write a SQL query to insert this data given into the table and using select command have to view it.

Let's write this query and hope this helps, if you find any query on the solution, utilize threaded question feature.

steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

mysql> CREATE TABLE School (
    -> SchoolNumber INT PRIMARY KEY,
    -> Name VARCHAR(50),
    -> Address VARCHAR(100),
    -> PhoneNumber BIGINT,
    -> Built DATE,
    -> Size INT
    -> );
ERROR 1046 (3D000): No database selected
mysql> SELECT * FROM School;
ERROR 1046 (3D000): No database selected

 

Solution
Bartleby Expert
SEE SOLUTION
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr