Question

1. Write a query to list the first name and last name of those pilots who...

1. Write a query to list the first name and last name of those pilots who were hired after January 1, 2010. Sort your result by the ascending order of last name. Within matching last names, order by first name.

2. Write a query to list flight number, pilot number, pilot last name for all flights whose destinations are using the IN keyword.

3. Write a query to list the names and telephone numbers of the passengers who have reservations on to destination RDU.

4. Count the number of reservations t

5. Write a query to list total fair paid, first name, and last name for all passengers in descending order of last name and first name.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

select first name, lastna me rom pilots Qhere ORDER B last name, fits tnqme Select ligber, pilot numbe, pilot des tination /

Add a comment
Know the answer?
Add Answer to:
1. Write a query to list the first name and last name of those pilots who...
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
  • Write a query in SQL to list the following information of the artists in movie industry....

    Write a query in SQL to list the following information of the artists in movie industry. Limit this information to only 5 artists. Sort the information by age descending order.          Full name : first name and last name separated by space          Age: Current age          Address: State that he resides          Contact number: Phone number This is from an artist table, where first_name, last_name, contact_no, address, birth_date are the fields in the table. Birth date in the table...

  • Can you please write the MySQL Query sentences for the following items below? For example: SELECT...

    Can you please write the MySQL Query sentences for the following items below? For example: SELECT * FROM employees; Generate a list of salespeople sorted descending by hire date. Show the ID, first name, last name, hire date, and salary for each salesperson. Generate a list of customers whose last name begins with the letter “M.” Show the first and last names of these customers. Sort the list of customers descending by last name. C. Generate a list of customers...

  • Problem 33, chapter 7 from Database Systems 13th edition by Coronel Write a query to display...

    Problem 33, chapter 7 from Database Systems 13th edition by Coronel Write a query to display the employee number, last name, email address, title, and department name of each employee whose job title ends in the word “ASSOCIATE.” Sort the output by department name and employee title Problem 36, chapter 7 from Database Systems 13th edition by Coronel Write a query to display the number of products within each base and type combination, sorted by base and then by type...

  • SQL Homework 1. For each reservation, list the reservation ID, trip ID, customer number, and customer...

    SQL Homework 1. For each reservation, list the reservation ID, trip ID, customer number, and customer last name. Order the results by customer last name. 2. For each reservation for customer Ryan Goff, list the reservation ID, trip ID, and number of persons. 3. List the trip name of each trip that has Miles Abrams as a guide. 4. List the trip name of each trip that has the type Biking and that has Rita Boyers as a guide. 5....

  • (TCO 6) Write a query to list the customer first name, last name as a single...

    (TCO 6) Write a query to list the customer first name, last name as a single field with a heading of Customer along with the balance sorted by balance from lowest to highest. SalesRep Customer PK ReplD PK varchar(20) varchar(20) decimal(10,2) CustomerID int -OH Last Name FirstName Last Name varchar(20) Commission Rate FirstName varchar(20) Street varchar(20) City varchar(20) Order State char(2) Zipcode char(5) HO. ---OPK OrderID Balance decimal(10,2) ReplD int FK1 CustomeriD OrderDate ShipDate Part int int date date PK...

  • 8. List the names of doctors who have no patients. [Use NOT IN query] IlIness Diagnosis...

    8. List the names of doctors who have no patients. [Use NOT IN query] IlIness Diagnosis Illness Code Illness Desc Department Pres No Patient N0 Medication Code Dosage Physician JD Last Name Patient-No ness Code Tel Extensian Specialty Assignment Paticnt Medication FnysicianJD Patient No Role patient No Last Name First Name Age Gentder Medicatian Cade On Hand On Order Unit Cost

  • Write query using (USE ONLY SUBQUERIES) to find first name and last name of all customers that have rented a “music” movie order by last name.

    Write query using (USE ONLY SUBQUERIES) to find first name and last name of all customers that have rented a “music” movie order by last name. Using Sakila database

  • SQL 1--> List slPax.PaxID, slPax.PaxFirstName, slPax.PaxLastName, and slCensus.PaxOrder for passengers with the lastname 'lozano'. Order the...

    SQL 1--> List slPax.PaxID, slPax.PaxFirstName, slPax.PaxLastName, and slCensus.PaxOrder for passengers with the lastname 'lozano'. Order the list by slCensus.PaxOrder in ascending order. 2-->List slShip.Make, slMaintenance.MaintenanceDate, and slSupplier.SupplierName for maintenance items with cost between 50 and 75. Order the list by slMaintenance.MaintenanceDate in ascending order. 3-->List slShip.Model, slTrip.TripStart, and slWayPoint.WayPoint for TripID = 118. Order the list by slFloatPlan.FloatPlanID in descending order. 4-->List slTrip.TripID, slTrip.TripStart, slLaunch.Launch, Passenger, and slShip.Make for TripID 100. This query provides the list of passengers and the...

  • Write a SQL query that shows the price of each order made by customers whose last name starts wit...

    Write a SQL query that shows the price of each order made by customers whose last name starts with the letter M. Display the order number, the last name on the order, and the price of the order (Order Price). Show the results with the highest order price first. Write a SQL query that determines the most expensive item purchased in each order (Item Price). Display the order number, the date of the order, the last name of the customer...

  • Write a query to display author ID, author first, last name, and the number of subjects...

    Write a query to display author ID, author first, last name, and the number of subjects (book subject count) for authors who have published books in more than one subject area (book subject). CHECKOUT PATRON PK Pat ID FK1 Book Num FK2 Pat ID Check Out Date Check Due Date Check In Date Pat FName Pat LName Pat Type BOOK AUTHOR PK Au ID Book Title Book Year Book Cost Book Subject Au FName Au LName Au BirthYear FK1 Pat...

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
ADVERTISEMENT