Display all data contained in one of the tables in the JustLee Books database. Retrieve two columns from one of the tables in the JustLee Books database. Retrieve several columns from one of the tables in the JustLee Books database. Use an alias for one of the columns. Retrieve several columns from one of the tables in the JustLee Books database. Use an alias that contains blank space(s) for one of the columns. Find a table in the JustLe Books database that contains duplicate values in one of the columns. Retrieve that column but list each value only once. Retrieve data from two character columns from one of the tables in the JustLee Books database and display the result in a single column with a descriptive heading. Values in the output should be separated by a comma and a blank space. Find a table in the JustLe Books database that contains numerical values in one of the columns. Retrieve that column and perform a basic arithmetic operation on data. Find a table in the JustLe Books database that contains numerical values in one of the columns. Retrieve that column and increase each value by 10%. Display the original value and the new value with descriptive headings in the output. Create a mailing list of all customers stored in the CUSTOMERS table. Create a mailing list from the CUSTOMERS table. The mailing list should display the name, address, city, state, and zip code for each customer. Each customer’s name should be listed in order of last name followed by first name, separated with a comma, and have the column header “Name.” The city and state should be listed as one column of output, with the values separated by a comma and the column header “Location.” Calculate a list of the percentage of profit generated by each book in the BOOKS table. To determine the percentage of profit for a particular item, subtract the item’s cost from the retail price to calculate the dollar amount of profit, and then divide the profit by the item’s cost. The solution is then multiplied by 100 to determine the profit percentage for each book. Use a SELECT statement to display each book’s title and percentage of profit. For the column displaying the percentage markup, use “Profit %” as the column heading.
- Display all data contained in one of the tables in the JustLee Books
database . - Retrieve two columns from one of the tables in the JustLee Books database.
- Retrieve several columns from one of the tables in the JustLee Books database. Use an alias for one of the columns.
- Retrieve several columns from one of the tables in the JustLee Books database. Use an alias that contains blank space(s) for one of the columns.
- Find a table in the JustLe Books database that contains duplicate values in one of the columns. Retrieve that column but list each value only once.
- Retrieve data from two character columns from one of the tables in the JustLee Books database and display the result in a single column with a descriptive heading. Values in the output should be separated by a comma and a blank space.
- Find a table in the JustLe Books database that contains numerical values in one of the columns. Retrieve that column and perform a basic arithmetic operation on data.
- Find a table in the JustLe Books database that contains numerical values in one of the columns. Retrieve that column and increase each value by 10%. Display the original value and the new value with descriptive headings in the output.
- Create a mailing list of all customers stored in the CUSTOMERS table. Create a mailing list from the CUSTOMERS table. The mailing list should display the name, address, city, state, and zip code for each customer. Each customer’s name should be listed in order of last name followed by first name, separated with a comma, and have the column header “Name.” The city and state should be listed as one column of output, with the values separated by a comma and the column header “Location.”
- Calculate a list of the percentage of profit generated by each book in the BOOKS table. To determine the percentage of profit for a particular item, subtract the item’s cost from the retail price to calculate the dollar amount of profit, and then divide the profit by the item’s cost. The solution is then multiplied by 100 to determine the profit percentage for each book. Use a SELECT statement to display each book’s title and percentage of profit. For the column displaying the percentage markup, use “Profit %” as the column heading.
Introduction
Database:
A database is a collection of organized data that is electronically stored and accessible. Information can be stored and retrieved using an electronic file system. Databases can be used for a variety of tasks, such as storing and accessing data for professional, academic, or private purposes.
Dataset:
On the other hand, a dataset is a set of information that has been specifically organized and arranged. It is a portion of a database that can be used for specialized tasks like research or the analysis of sales data. A dataset can be kept in a variety of forms, such as spreadsheets, text files, and databases, and can contain a variety of data kinds, such as numerical data, categorical data, and text data.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images