Skip to content

MCB | Saidumar Akbarov | Module-Databases | Week-3 #181

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FrenchFry36
Copy link

Query Practice

Write SQL queries to complete the following tasks:

  • [V] List all the products whose name contains the word "socks"
  • [V] List all the products which cost more than 100 showing product id, name, unit price, and supplier id
  • [V] List the 5 most expensive products
  • [V] List all the products sold by suppliers based in the United Kingdom. The result should only contain the columns product_name and supplier_name
  • [V] List all orders, including order items, from customer named Hope Crosby
  • [V] List all the products in the order ORD006. The result should only contain the columns product_name, unit_price, and quantity
  • [V] List all the products with their supplier for all orders of all customers. The result should only contain the columns name (from customer), order_reference, order_date, product_name, supplier_name, and quantity

Acceptance Criteria

  • [v] The cyf_ecommerce database is imported and set up correctly
  • [v] The database schema is drawn correctly to visualize relationships between tables
  • [v] The SQL queries retrieve the correct data according to the tasks listed above
  • [v] The pull request with the answers to the tasks is opened on the main branch of the E-Commerce repository

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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

Successfully merging this pull request may close these issues.

1 participant