{"id":8200,"date":"2023-08-01T00:00:00","date_gmt":"2023-08-01T00:00:00","guid":{"rendered":"https:\/\/nurs.essaybishops.com\/sql-exercise\/"},"modified":"2024-09-24T19:03:54","modified_gmt":"2024-09-24T19:03:54","slug":"sql-exercise","status":"publish","type":"post","link":"https:\/\/homeworkacetutors.com\/nursing\/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\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1738,2474,2500,1563,2499],"tags":[2368,2501,2479,2477,2476,1481,2475,2478,2502],"class_list":["post-8200","post","type-post","status-publish","format-standard","hentry","category-help-me-with-social-psychology-assignment","category-psyc-essays","category-psych-research-paper-sample","category-psychology-case-study-examples","category-write-my-psychology-papers","tag-masters-essays","tag-psy-papers","tag-psyc","tag-psychology-assignment","tag-psychology-dissertations","tag-psychology-essays","tag-psychology-research-papers","tag-sociology-essays","tag-write-my-psychology-research-paper"],"_links":{"self":[{"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/posts\/8200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/comments?post=8200"}],"version-history":[{"count":1,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/posts\/8200\/revisions"}],"predecessor-version":[{"id":8209,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/posts\/8200\/revisions\/8209"}],"wp:attachment":[{"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/media?parent=8200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/categories?post=8200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/homeworkacetutors.com\/nursing\/wp-json\/wp\/v2\/tags?post=8200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}