{"id":5564,"date":"2020-03-03T12:35:43","date_gmt":"2020-03-03T12:35:43","guid":{"rendered":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/sql-exercise\/"},"modified":"2020-03-03T12:35:43","modified_gmt":"2020-03-03T12:35:43","slug":"sql-exercise","status":"publish","type":"post","link":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/sql-exercise\/","title":{"rendered":"SQL Exercise"},"content":{"rendered":"<p>SQL Exercise 2:<br \/>\nName___________________Student No._______________________<br \/>\nGo to the following link and type SQL statements to finish the following questions.<br \/>\nhttps:\/\/www.w3schools.com\/SQL\/trysql.asp?filename=trysql_op_in<br \/>\n1) List all product IDs and product names in category 3.<br \/>\n2) Find the maximum, minimum, and average prices of products in category 2.<br \/>\n3) Find the number of customers from each country.<br \/>\n4) Find the number of orders processed by each employee.<br \/>\n5) Find the employees whose background are related to psychology.<br \/>\n6) Insert a new row into the table shippers supplying data for all columns.<br \/>\n7) Give all products a 3% price increase.<br \/>\n8) Give all products in category 2 a 5% price decrease.<br \/>\n9) Delete all products from supplier 8.<br \/>\n10) Find all customers who have not placed any order.<br \/>\n11) Find the number of product categories offered by each supplier.<br \/>\n12) For each product category, find the number of suppliers.<br \/>\n13) List full details of all customers who placed an order in 1997 February.<br \/>\n14) List all details of shippers that shipped the orders placed by customerID 5.<br \/>\n15) For each category of products with more than six products, find the number of products.<br \/>\n16) List names of all products that have been ordered more than 100 units totally.<\/p>\n<p>&#8212;&#8211;<\/p>\n<p>SQL Exercis 2: Name______________________<\/p>\n<p>To answer the following questions, go to the following link and type SQL statements.<\/p>\n<p>https:\/\/www.w3schools.com\/SQL\/trysql.asp?filename=trysql op in<\/p>\n<p>1) List all of the product IDs and names in category 3.<\/p>\n<p>2) Determine the highest, lowest, and average prices of products in category 2.<\/p>\n<p>3) Determine the total number of customers from each country.<\/p>\n<p>4) Determine the number of orders completed by each employee.<\/p>\n<p>5) Identify employees with a background in psychology.<\/p>\n<p>6) Add a new row to the table shippers, filling in the blanks for all columns.<\/p>\n<p>7) Increase the price of all products by 3%.<\/p>\n<p>8) Reduce the price of all products in category 2 by 5%.<\/p>\n<p>9) Remove all products from the supplier&#8217;s inventory 8.<\/p>\n<p>10) Locate all customers who have yet to place an order.<\/p>\n<p>11) Locate<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL Exercise 2: Name___________________Student No._______________________ Go to the following link and type SQL statements to finish the following questions. https:\/\/www.w3schools.com\/SQL\/trysql.asp?filename=trysql_op_in 1) List all product IDs and product names [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[1942],"tags":[1944,1839,1838,1837],"class_list":["post-5564","post","type-post","status-publish","format-standard","hentry","category-write-my-psychology-papers","tag-write-my-psychology-research-paper","tag-psychology-research-papers","tag-psychology-dissertations","tag-psychology-assignment"],"_links":{"self":[{"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/posts\/5564","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/comments?post=5564"}],"version-history":[{"count":0,"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/posts\/5564\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/media?parent=5564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/categories?post=5564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.homeworkacetutors.com\/acemyhomework\/wp-json\/wp\/v2\/tags?post=5564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}