Question

Complete Task 4, 5, 6Instructions Page 3 of 3 query.sql 1 -- Write your query below and then click Run Query to execute it. To save multiple que

Instructions Page 3 of 3 User Satisfaction team wants to send monthly summaries for each user. They need the following detail

USER_ID USER FIRST NAME USER_LAST_NAME USER EMAIL 3001 Jack Hill Jhill@xmail.com 3002 Ryan Collins r.collins@xmail.com 3003 N

cdn.filestackcontent.com DRIVER_ID DRIVER_FIRST_NAME DRIVER LAST NAME DRIVER DRIVING LICENSE ID DRIVER START_DATE DRIVER DRIV

Acdn.filestackcontent.com CAR ID CAR PLATE CAR MODEL CAR YEAR 1001 BB-542-AB TOYOTA PRIUS 2018 1002 BB-883-EE TESLA MODEL 3 2

cdn.filestackcontent.com st TRAVEL_ID TRAVEL_START_TIME TRAVEL END TIME TRAVEL START LOCATION TRAVEL_END_LOCATION TRAVEL_PRIC

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

USER_ID, TIME DIFF ( TRAVEL-END_TIME, TRAVEL.START_TIME) Task 4:- > SELECT AS TRAVEL TIME FROM TRAVEL; USER_ID TRAVEL_TIME ToTask 6:- SELECT TRAVEL_ID , ROUND (TRAVEL_DISCOUNT, 2) AS DISCOUNT_AMOUNT WHERE TRAVEL_DISCOUNT IS NOT NULL; Discount Amount

Add a comment
Know the answer?
Add Answer to:
Complete Task 4, 5, 6 Instructions Page 3 of 3 query.sql 1 -- Write your query...
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
  • SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and...

    SQL QUERIES 1) Using the Product and PC relations, create both tables in your database and insert all the data. Show the SQL statements to create each table and show a representative SQL insert statement for the data in each table (i.e. you do not need to show insert statements for all the data). – For the remaining questions, assume that your SQL is part of a program function and the function provides the input needed for your SQL query....

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