Employee Employee Name Salary ID 1001 1002 1003 Moosa 1004 Hessa 1005 Alaa 1006 Mariam ename Eman Ali sal 550 600 900 300 600 800 Employee Phone Number empno 39999999 39999998 39999997 39999996 39999995 39999994 Emp job Developer CS HR Network Server SE Department number deptno 10 20 40 30 30 10 Department name dname IT Registration Admin Engineering Engineering IT Date of hiering hiredare 3/3/2000 3/4/2000 3/5/2000 3/6/2000 3/7/2000 3/8/2000

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
Question

Course: Database systems: design and applications

ID
1001
1002
1003
Employee Employee
Name
Salary
ename
Eman
Ali
Moosa
1004
Hessa
1005
Alaa
1006 Mariam
sal
550
600
900
300
600
800
Employee
Phone
Number
empno
39999999
39999998
39999997
39999996
39999995
39999994
Emp
job
Developer
CS
HR
Network
Server
SE
Department
number
deptno
10
20
40
30
30
10
Department
name
dname
0000000
IT
Registration
Admin
Engineering
Engineering
IT
From the above table, Answer the questions:
Q 1) Highlight the best answer.
1. Select a query that retrieves all of the unique Jobs from the Emp table?
a. SELECT DISTINCT Job FROM Emp;
b. SELECT UNIQUE Job FROM Emp;
c. SELECT DISTINCT Job FROM TABLE Emp;
d. SELECT INDIVIDUAL Job FROM Emp;
Date of
hiering
hiredare
3/3/2000
3/4/2000
3/5/2000
3/6/2000
3/7/2000
3/8/2000
2. The correct sql statement syntax that is used to retrieve data from emp table is:
a. Select emp where ID=7839
b. Select emp from ename where ID=7839
c. Select ename sal from emp where ID=7839
d. Select where ID=7839 from emp
Transcribed Image Text:ID 1001 1002 1003 Employee Employee Name Salary ename Eman Ali Moosa 1004 Hessa 1005 Alaa 1006 Mariam sal 550 600 900 300 600 800 Employee Phone Number empno 39999999 39999998 39999997 39999996 39999995 39999994 Emp job Developer CS HR Network Server SE Department number deptno 10 20 40 30 30 10 Department name dname 0000000 IT Registration Admin Engineering Engineering IT From the above table, Answer the questions: Q 1) Highlight the best answer. 1. Select a query that retrieves all of the unique Jobs from the Emp table? a. SELECT DISTINCT Job FROM Emp; b. SELECT UNIQUE Job FROM Emp; c. SELECT DISTINCT Job FROM TABLE Emp; d. SELECT INDIVIDUAL Job FROM Emp; Date of hiering hiredare 3/3/2000 3/4/2000 3/5/2000 3/6/2000 3/7/2000 3/8/2000 2. The correct sql statement syntax that is used to retrieve data from emp table is: a. Select emp where ID=7839 b. Select emp from ename where ID=7839 c. Select ename sal from emp where ID=7839 d. Select where ID=7839 from emp
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Web Page
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.
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