MySQL Output reference challenge This challenge has an output reference , meaning that the SQL queries you write in the *.sql file must output the… | Cheap Nursing Papers

MySQL Output reference challenge This challenge has an output reference , meaning that the SQL queries you write in the *.sql file must output the…

MySQL

Output reference challenge

This challenge has an output reference, meaning that the SQL queries you write in the *.sql file must output the same result if you source it.

For these kind of challenges, there is a terminal tab enabled in the left pane so you can:

  1. Write down the tasks in the file
  2. source the file in the mysql> command line by executing source sql-6-*.sql
  3. Compare the output of your input file against the reference output
  4. If the result matches, Check it! afterwards

SQL MIN()

A sql-6-1.sql file has been opened for you.

Write each of the following tasks as a SQL statement in a new line:

  1. Select the product with the least stock from the e_store.products table. The output should look like this:

+————+

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp