Question

Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following would...

Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following would find all employees whose name begins with the letter "S" using Microsoft Access?
A) SELECT *
FROM EMPLOYEE
WHERE Name IN ['S'];
B) SELECT EmpNo
FROM EMPLOYEE
WHERE Name LIKE 'S';
C) SELECT *
FROM Name
WHERE EMPLOYEE LIKE 'S*';
D) SELECT *
FROM EMPLOYEE
WHERE Name LIKE 'S%';
E) None of the above.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate)
SQL to find all employees whose name begins with the letter "S" using Microsoft Access is
SELECT *
FROM EMPLOYEE
WHERE Name LIKE 'S%';

D) SELECT *
FROM EMPLOYEE
WHERE Name LIKE 'S%';
Add a comment
Know the answer?
Add Answer to:
Given a table with the structure: EMPLOYEE (EmpNo, Name, Salary, HireDate), which of the following would...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In pgAdmin, i have a employee table( name, salary) like this    Name salary TOM 3000...

    In pgAdmin, i have a employee table( name, salary) like this    Name salary TOM 3000 Jack 2000 Mike 6000 Susan 3000 Chris 5000 Nancy 5000 If i do select name, salary, densen_rank() over (order by salary desc ) as AA from table ,it'll return me a table like this Name Salary AA Mike 6000 1 Chris 5000 2 Nancy 5000 2 Suan 3000 3 Tom 3000 3 Jack 2000 4 Is there anyway i can write a query and...

  • in Java Create a custom class Employee with field like name , empNo and salary. a....

    in Java Create a custom class Employee with field like name , empNo and salary. a. Create 5 objects b. Add all objects to ArrayList c. Print all employee details from ArrayList . d. Remove employee having salary less than 5000 $ [12] e. Insert a new employee object with more salary value at same index at which other object was removed. *

  • SQL query: Write a SQL statement using the employees table and retrieve employees whose monthly salary...

    SQL query: Write a SQL statement using the employees table and retrieve employees whose monthly salary (including their commission) is greater or equal to 5,000 but less than or equal to 17,000 (we are assuming the salary on the table is monthly). In other words, if their monthly salary was 1000 and their commission was .2, their total monthly salary would be 1200 and given the criteria above this instance would not be selected. Please display the full name of...

  • employee(employee-id, employee-name, street, city) works(employee-id, company-id, salary) company(company-id, company-name, city) manages(employee-id, manager-id) Consider the data base...

    employee(employee-id, employee-name, street, city) works(employee-id, company-id, salary) company(company-id, company-name, city) manages(employee-id, manager-id) Consider the data base above where the primary keys are in bold For each of the questions give the following. (NOTICE the Relations on the given database it isn't like the ones that are commonly posted they are slightly different) (1) a relational algebra expression, (2) a tuple relational calculus expression, and (3) a domain relational calculus expression. f. Find all employees in the database who do not...

  • Given the following Schema : Employee (empNo, fName, lName, address, DOB, sex, position, deptNo) Department (deptNo,...

    Given the following Schema : Employee (empNo, fName, lName, address, DOB, sex, position, deptNo) Department (deptNo, deptName, mgrEmpNo) Project (projNo, projName, deptNo) WorksOn (empNo, projNo, dateWorked, hoursWorked) Where: Employee contains employee details and empNo is the key. Department contains department details and deptNo is the key. mgrEmpNo identifies the employee who is the manager of the department. There is only one manager for each department. Project contains details of the projects in each department and the key is projNo (no...

  • DROP TABLE EMPLOYEE; DROP TABLE JOB; DROP TABLE EMP; DROP TABLE EMP_1; DROP TABLE EMP_2; CREATE...

    DROP TABLE EMPLOYEE; DROP TABLE JOB; DROP TABLE EMP; DROP TABLE EMP_1; DROP TABLE EMP_2; CREATE TABLE JOB(JOB_CODE CHAR (3) PRIMARY KEY, JOB_DESCRIPTION VARCHAR (20) NOT NULL,JOB_CHG_HOUR NUMBER (5,2) NOT NULL,JOB_LAST_UPDATE DATE NOT NULL); INSERT INTO JOB VALUES('500','Programmer','35.75','20-Nov-2017'); INSERT INTO JOB VALUES('501','System Analyst','96.75','20-Nov-2017'); INSERT INTO JOB VALUES('502','Database Designer','125.00','24-Mar-2018'); CREATE TABLE EMPLOYEE(EMP_NUM CHAR (3) PRIMARY KEY,EMP_LNAME VARCHAR (15) NOT NULL,EMP_FNAME VARCHAR (15) NOT NULL, EMP_INITIAL CHAR (1),EMP_HIREDATE DATE NOT NULL,JOB_CODE CHAR (3), EMP_YEARS NUMBER (2),FOREIGN KEY (JOB_CODE) REFERENCES JOB (JOB_CODE)); INSERT...

  • JAVA ONLY. For this assignment you will create an employee application, containing contact information, salary, and...

    JAVA ONLY. For this assignment you will create an employee application, containing contact information, salary, and position. You will also define the type of company. Is it an engineering firm, a supermarket, or a call center? Once the application has been completed, I should be able to perform a query for any piece of information associated with each employee.   For instance, if I search for employees who make over $50,000, all of the employees whose salaries are greater than $50,000 should...

  • Consider the relational database schema for a company below. EMPLOYEE/NAME, SSN, BDATE, ADDRESS, SEX, SALARY, SUPERSSN,...

    Consider the relational database schema for a company below. EMPLOYEE/NAME, SSN, BDATE, ADDRESS, SEX, SALARY, SUPERSSN, DNA) TA DEPARTMENT(DNAME, DNUMBER. MESSINS, MGRSTARTDATE) DEPT_LOCATIONS(DNUMBER. DLOCATION PROJECT(PNAME, PNUMBER. PLOCATION, DNLIM) WORKS_ONCESSN.PNG, HOURS) DEPENDENTESSN, DEPENDENT-NAME, SEX, BDATE, RELATIONSHIP) Write SQL statements for the following queries: a) List the names of those employees who work in the "Production" department (6 marks). b) Find the maximum salary, minimum salary, and the average salary among employees who work for the "Production department (6 marks). Count the...

  • Problem 1 (25 points) Consider the following database schema: Employee (fname, Iname, ssn, address, salary, mgrssn,...

    Problem 1 (25 points) Consider the following database schema: Employee (fname, Iname, ssn, address, salary, mgrssn, dnumber) Department (dname, dnumber, mgrssn, mngrstartdate) Project (pname, pnumber, plocation, dnumber) Works_On (ssn, pnumber, hours_per_week) Dependent (ssn, dependent name, bdate, relationship) The above relations store information about a company. The meaning of most of the relations and attributes is straightforward. For example, the first relation stores information about employees. The mgrssn is the SSN of the manager (supervisor) of the given employee. A manager...

  • ANSWER a PLEASE USE MS ACCESS TO ANSWER (a) EMPLOYEE X Name Adams, James Angel, Kathy...

    ANSWER a PLEASE USE MS ACCESS TO ANSWER (a) EMPLOYEE X Name Adams, James Angel, Kathy Ashley, Jane Bosa, Victor Ching, Kam Hoong Collins, Giovanni Corning, Sandra Corovic, Jose Davidson Kaye Dixon, James T Dixon, Eleonor Drew, Richard Duong, Linda Goston, Sayeh Jordan, Matthew Lane, Brandon Lee, Brandon Lunden, Haley Menstell,Lori Lee Pham, Mary Quigly, James Ray, Tony Rikki, Nicole Ryan, Mark Scott, Bryan Scott, Rex Spenser, William UTran,Diem Thi Warrem, Jason Wei, Guang * - Department Accounting IS Marketing...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT