1- Generate a listing of all purchases made by the customers, using the output shown below as your guide. Sort the results by customer code, invoice number, and product description. Cus CODE INV_NUMDEN INV DATE LNE UNITS LINE ICE 1002 16-Jon-18 Rat-tal file, 10-n. fine 1004 17-Jam-10 Claw haTmer 10011 4,99 10011 9.95 10011 1004 17-Jan-18 Ret-tal fle, 1.8-n. fine 3 439 10011 1003 17-Jan-16 Claw harmer 9.95 10011 1009 17-lan-18 PVC pipe, 3.Sin 8-tt in 597 10011 1009 17-Jan-18 Sleel mettinga, 4x8'x1.6", .5" mesh 119.95 10012 1003 16-lan-187 25-n. pw. saw blode 1003 16-Jan-18 B8D cordless ril, 1/2in. 1003 18-lam-10 Hrd deth, 14in., 2x50 14.99 10012 38.95 10012 99.95 10014 1001 16-Jan-18 725-n. pwr. saw blede 14.99 10014 1001 16-lan-18 Claw harmer 995 1003 17-Jan-10 1 25-n. melel screw, 25 17-lan-18 BBD jasaw, 124n. lalade 10014 6.99 10014 100 109.92 10014 1005 17-Jan-18 Caw harmer 1 9.95 10014 1006 17-lan-18 Hicut chain saw, 16 in. 1 25699 10015 1007 17-Jan-18 7 25-n. pwt.saw bsde 14.99 11-lan-18 Kel-lal fie, 1.8an. fine 4.99 10018 1005 17-Jan-18 PVC pipe, 3.5-n.,8-it 12 5.87
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps