Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2: Select Firstname , Lastname , Department , Rank , and Salary for all faculty whose last name begins with JO [ Hint: use

Question 2: Select Firstname, Lastname, Department, Rank, and Salary for all faculty whose last name begins with JO [Hint: use LIKE in your where clause with a syntax LIKE JO*].

image text in transcribedWhy this is wrong >>>>

SELECT Firstname, Lastname, Department, Rank, Salary FROM Faculty WHERE LastName LIKE 'JO%';

Question 3. Select CourseNo, Title, and the number of times that a course has been offered

[Hint: In this query, you need to retrieve data from two tables Course and Offering. Since it involves a COUNT(*) function in the SELECT phrase, the SQL should also have a GROUP BY phrase after the WHERE phrase. Remember that CourseNo appears in both Course and Offering tables, you need to have join condition and an alias may be needed to make your statement easy to write].

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions