Assuming that this query displays the Employees whose first name starts with letter A, which condition should be added to make it true ? Select Lname || fname as name , salary from employee where a. Instr(fname,'A') = 0; b. Instr(fname,'A') = 1; c. Initcap(fname) Like 'a%' ; d. Fname Like'_A%' ;

Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 59P
icon
Related questions
Question

i need help with these examplesin database

Assuming that this query displays the Employees whose first name starts with letter A, which
condition should be added to make it true ?
Select Lname || fname as name , salary from employee where
a. Instr(fname,'A') = 0 ;
O b. Instr(fname,'A') = 1 ;
c. Initcap(fname) Like 'a%' ;
O d. Fname Like '_A%' ;
Transcribed Image Text:Assuming that this query displays the Employees whose first name starts with letter A, which condition should be added to make it true ? Select Lname || fname as name , salary from employee where a. Instr(fname,'A') = 0 ; O b. Instr(fname,'A') = 1 ; c. Initcap(fname) Like 'a%' ; O d. Fname Like '_A%' ;
Which command is used to add new column (Budget) to project table where the budget must not
exceed 200000$?
a. Alter table project add column (budget number not null);
O b. Alter table project add (budget number not null >200000);
C. Alter table project add (budget number check(budget < 200000));
O d. Alter project add column (budget <200000);
Transcribed Image Text:Which command is used to add new column (Budget) to project table where the budget must not exceed 200000$? a. Alter table project add column (budget number not null); O b. Alter table project add (budget number not null >200000); C. Alter table project add (budget number check(budget < 200000)); O d. Alter project add column (budget <200000);
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Table
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
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
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