Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Insert the new product into the database with a simple SQL statement: 

    INSERT into products (product_name, unit_price, tax_rate, deadline, quantifiable, prereg_only) values ('TRANSITS I, 22-24 Nov 2017, Prague, nc, na', 925, 21, '2017-12-12 00:00:00', 'f', 't');

    Replace the values with the values that you received from the person requesting the product.
  • Check if products have been inserted and get their respective id's: select * from products order by inserted desc;