Select fname from employee where instr(fname,'a')=0; this query displays: a. The names that has a letter 'a'. O b. The names that starts with letter 'a'. c. The names that does not contains the letter 'a'. d. Makes error.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter12: Database Queries With Sql
Section: Chapter Questions
Problem 2MQ2
icon
Related questions
icon
Concept explainers
Question
Select fname from employee where instr(fname,'a')=0; this query displays:
a. The names that has a letter 'a'.
O b. The names that starts with letter 'a'.
c. The names that does not contains the letter 'a'.
O d. Makes error.
Transcribed Image Text:Select fname from employee where instr(fname,'a')=0; this query displays: a. The names that has a letter 'a'. O b. The names that starts with letter 'a'. c. The names that does not contains the letter 'a'. O d. Makes error.
Which of the following statements displays the department name and its manager name:
a. Select e.fname,d.dname from employee e join department d on (d.dnumber=e.dno);
b. Select e.fname,d.dname from employee e join department d on (d.mgr_ssn=e.super_ssn);
c. Select e.fname,d.dname from employee e join department d on (d.mgr_ssn=e.ssn);
d. Select e.fname,d.dname from employee e, department d;
Transcribed Image Text:Which of the following statements displays the department name and its manager name: a. Select e.fname,d.dname from employee e join department d on (d.dnumber=e.dno); b. Select e.fname,d.dname from employee e join department d on (d.mgr_ssn=e.super_ssn); c. Select e.fname,d.dname from employee e join department d on (d.mgr_ssn=e.ssn); d. Select e.fname,d.dname from employee e, department d;
Expert Solution
steps

Step by step

Solved in 2 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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning