Skip to content
This repository was archived by the owner on Aug 17, 2024. It is now read-only.

Manchester-NW5-LeilaFaez-SQL-Week2 #179

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

leilafaez
Copy link

Volunteers: Are you marking this coursework? You can find a guide on how to mark this coursework in HOW_TO_MARK.md in the root of this repository

Your Details

  • Your Name:Leila Faez
  • Your City:Manchester
  • Your Slack Name:Leila Faez

Homework Details

  • Module:sql
  • Week:2

Notes

  • What did you find easy?

  • What did you find hard?

  • What do you still not understand?

  • Any other notes?

leilafaez added a commit to leilafaez/SQL-Coursework-Week3 that referenced this pull request Feb 18, 2023
13. List all orders giving customer name, order reference, order date and order total amount (quantity * unit price) in descending order of total.

select c.name, o.order_reference, o.order_date, (a.unit_price * oi.quantity) AS total_amount FROM customers c inner Join orders o on (c.id = o.customer_id) inner join order_items oi on (o.id = oi.order_id) inner join product_availability a ON (a.prod_id = oi.product_id);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the descending order is missing

);
});

app.get("/products", (req,res)=>{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something is missing here in the path I assume

Copy link

@csfilipinyi csfilipinyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

congratulations Leila, well done, nice job

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants