This document contains SQL statements to create two tables, 'buku' and 'orders', and join them. The 'buku' table stores book code, author name and price. The 'orders' table stores sale number, book name, quantity bought, code, customer name and address. A SELECT statement then joins the tables to retrieve customer name, address and book name from orders using the matching book code from buku.
This document contains SQL statements to create two tables, 'buku' and 'orders', and join them. The 'buku' table stores book code, author name and price. The 'orders' table stores sale number, book name, quantity bought, code, customer name and address. A SELECT statement then joins the tables to retrieve customer name, address and book name from orders using the matching book code from buku.
This document contains SQL statements to create two tables, 'buku' and 'orders', and join them. The 'buku' table stores book code, author name and price. The 'orders' table stores sale number, book name, quantity bought, code, customer name and address. A SELECT statement then joins the tables to retrieve customer name, address and book name from orders using the matching book code from buku.