1.1 Suppose you want to retrieve data from the studentlist table, and the following error occurs SELECT * FROM studentlst; ORA-00942: table or view does not exist 00942. 00000 - "table or view does not exist" *Cause: *Action: Error at Line: 2 Column: 6 Explain the error message and what is the possible cause of the error 1.2 Write a query to display the information of students whose last name contains letter ‘y’ and were admitted from year 2020 and above. 1.3 The DISTINCT keyword removes duplicate rows from your results, not duplicate values from each column. Write a query to implement DISTINCT keyword on Studentlist table to find unique last names. 1.4 Write a query to find unique first names and last names of the students contained in the Studentlist table 1.5 Use the IN keyword to find the students whose first names are Evelyn, Samson, and Paul from the Studentlist

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

1.1 Suppose you want to retrieve data from the studentlist table, and the following error occurs
SELECT *
FROM studentlst;
ORA-00942: table or view does not exist
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
Error at Line: 2 Column: 6
Explain the error message and what is the possible cause of the error

1.2 Write a query to display the information of students whose last name contains letter ‘y’ and
were admitted from year 2020 and above.

1.3 The DISTINCT keyword removes duplicate rows from your results, not duplicate values
from each column. Write a query to implement DISTINCT keyword on Studentlist table to
find unique last names.

1.4 Write a query to find unique first names and last names of the students contained in the
Studentlist table

1.5 Use the IN keyword to find the students whose first names are Evelyn, Samson, and Paul
from the Studentlist

 

 

Consider the following table
Table 1: studentlist
Snum
00001
00002
00003
00004
00005
00006
00007
00011
00022
00033
First_name
Nkosi
Samson
James
Khetha
Evelyn
Mercy
Paul
Jean
Peter
Vanesa
Last_name
Zanele
Ocholi
Stone
Dludla
Taylor
Andrew
Mandla
Zille
Abe
Department
Marketing
IT
Accounting
Surveying
Statistics
History
Mathematics
Chemistry
IT
Accounting
Year Admission
2018
2019
2018
2021
2020
2019
2021
2022
2022
2022
Transcribed Image Text:Consider the following table Table 1: studentlist Snum 00001 00002 00003 00004 00005 00006 00007 00011 00022 00033 First_name Nkosi Samson James Khetha Evelyn Mercy Paul Jean Peter Vanesa Last_name Zanele Ocholi Stone Dludla Taylor Andrew Mandla Zille Abe Department Marketing IT Accounting Surveying Statistics History Mathematics Chemistry IT Accounting Year Admission 2018 2019 2018 2021 2020 2019 2021 2022 2022 2022
Expert Solution
steps

Step by step

Solved in 6 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY