Below are some sample data for the table.
Insert into Transaction_Detail Values(1,6,timestamp‘2016-12-01 09:00:00’, timestamp‘2017-11-01 09:00:00’,null,0, 0);
Insert into Transaction_Detail Values(2,7,timestamp‘2017-01-02 08:30:00’, null, timestamp‘2017-12-02 09:00:00’,10, 1);
Insert into Transaction_Detail Values(3,8,timestamp‘2017-03-05 12:30:00’, timestamp‘2017-03-05 12:30:00’,null,0, 0);
Insert into Transaction_Detail Values(4,9,timestamp‘2017-11-07 11:20:00’, null, timestamp‘2017-12-07 09:00:00’,20, 11);
Insert into Transaction_Detail Values(5,6,timestamp‘2017-10-10 16:00:00’, null, timestamp‘2017-12-10 09:00:00’,30, 10);
Please answer the SQL commands implementing the following questions. Explain your answers. You can verify them in your database. (100 points in total, 20 points each.)
Hint: if you want to use timestamp in where clause, you need to use to_timestamp function, e.g., to_timestamp('12-01-2012 21:24:00', 'dd-mm-yyyy hh24:mi:ss')
List all the transaction details for the orders with outstanding payments (where customers have not fully completed their payments and still have some amount due).
List the customer IDs who have ordered before Nov 6,2017.
List the number of customers who have ordered in the store.
Customer 2 has completed the transaction earlier than the due date. Assume the transaction was completed on Nov 1, 2017, update the table.
List the total amount of payment the store is expecting from all the customers.
Greetings! My name is Naveen lalwani and i am an expert in Wordpress Theme Development & Customization, Wordpress Plugin Development & Customization, Wordpress Bugs Fixes and all.
Relevant Skills and Experience
Yes I have Good Experience in Wordpress Theme Development & Customization, Wordpress Plugin Development & Customization, Wordpress Bugs Fixes and all.
Proposed Milestones
$10 USD - Project payment
$10 USD in 1 giorno
5,0 (41 valutazioni)
5,6
5,6
17 freelance hanno fatto un'offerta media di $19 USD
Hello,
I am Vikrant, full time freelancer .
After reviewing your project, I’d love to discuss in more detail with you to ultimately understand your needs more.
Relevant Skills and Experience
I have more than 2 years of professional experience in PHP, CSS, HTML, JS, Jquery,Bootstrap, Ajax,wordpress.
I will start the work as soon as you confirm and complete it before mentioned deadline.
Proposed Milestones
$20 USD - after completion
when we can start ?
Hi, Hope you doing well.I read your project description and very confident to
handle this project perfectly
Let's have a discussion, negotiate costing, timeline and then we proceed
Thanks!
Relevant Skills and Experience
All
Proposed Milestones
$19 USD - Lets do it
Hi, i can help you with the SQL queries . I am a computer science student and a developer
Relevant Skills and Experience
MySQL, SQL
Proposed Milestones
$20 USD - on job complete
I have more then 5 years of experience in MySQL and database. I can do your work with efficiency.
Relevant Skills and Experience
MySQL
Proposed Milestones
$20 USD - Complete the task
Hi,
I can do this. I am expert in sql scripting. Hoping for positive response.
Thanks
Mahesh
Relevant Skills and Experience
sql server - 5 year
Proposed Milestones
$20 USD - milestone
Hello, I'm experienced software developer and I know MySQL grammar. I would like to do your job. Please contact me in chat if there are any other requirements and files attached to this small project.
Odpowiednie Umiejętności i Doświadczenie
SQL, MySQL, transactional languages
Zaproponowane płatności Milestone
$20 USD - Full job
Hi ,
I can complete this project for you in 2 days . I need only one clarification from you which is if you can share the table schema of Transaction_Detail.
Relevant Skills and Experience
Mysql - can write optimized mysql queries
Proposed Milestones
$10 USD - One completion of 1st 3 queries
$10 USD - One complete of next 2 queries
I can provide you the query with proper explanation
Relevant Skills and Experience
SQL, MySQL, Oracle
Proposed Milestones
$12 USD - All the queries required
Will be able to provide the SQL commands for the requested question
Relevant Skills and Experience
Have good hands on on PLSQL and SQL queries.
Proposed Milestones
$30 USD - in 2 days