Show all columns and all records in the membertype table

Assignment Help Database Management System
Reference no: EM131852756

Copy this document to your local drive and add your name to the footer.

Create SQL commands to answer the following questions from the tables in the MembersSQL database as shown below. Paste a screenshot from FoxyFreeSQL below each question showing the SQL code and the first few rows of your results.

Submit the completed document in Moodle. Save and/or print your assignment out to refer to in the first SQL quiz.

1218_Keys.jpg

1. Show all columns and all records in the MemberType table.

2. Show all the columns from the Payments table where the payment date is 5/23/2013.Hint: Use # for delimiters for dates.

3. Display the first name, last name, city, state, and phone number for every member with the initials A.C. that lives in California.

4. Display the first name, last name, and fax number for all fax numbers that end with 5278.

5. Display the first name, last name, city, and phone number for all members from California with a first name that is either Don, Donald, Ron, or Ronald.

6. Show first name, last name, address, city, state, and zip for all members that live in either California or in Oregon.

7. Show first name, last name, address, city, and state for all members that live in Albany, CA.

8. Show all the columns from the payments table for payments made in March 2014 where the payment was either $35 or $50.

9. Provide a list of cities in the Members table that have a zip that begins with ‘99'. Show the city and state and show each city one time only. Hint: Refer to the SQL 1 Video or slide deck for information on DISTINCT. ZIP codes are character data.

10. List first name, last name, and fax number for all members whose fax number includes prefix 448. (as in: 541-448-3432). Hint: Look for patterns within a column; don't include phone numbers that have 448 somewhere else in the column.

Reference no: EM131852756

Questions Cloud

Standard deviation of reaction times : The psychologist estimates that the standard deviation of reaction times is 15 msec.What size sample should he draw?
What are your feelings on the project managers comments : What are your feelings on the project manager's comments that he must wait until the prototyping phase to assign probabilities and outcomes?
Confidence the difference between the two population means : The psychologist wants this difference to be within 5 msec of the difference between the sample means.
The minimum-variance portfolio of the two risky funds : What are the investment proportions in the minimum-variance portfolio of two risky funds. What is expected value and standard deviation of its rate of return?
Show all columns and all records in the membertype table : Display the first name, last name, city, state, and phone number for every member with the initials A.C. that lives in California.
Example of seven experimental drugs : In the introduction to the chapter, we used the example of seven experimental drugs being tested for use with Alzheimer's patients.
Discuss the concept of marketing : UK-based organisation of your choice and as part of the interview process you are required to discuss the concept of marketing as well as its role within
Upper tail of the f distribution is of interest : 1. In the analysis of variance F test, why is it that only the area in the upper tail of the F distribution is of interest?
Compute earnings per share if return on assets increased : Compute the earnings per share if return on assets increased to 14.0 percent.

Reviews

Write a Review

Database Management System Questions & Answers

  Create spreadsheet that contains three separate data sets

Identify your dream vehicle (plane, automobile, boat, etc.) and estimate its cost and the interest rate if you financed its purchase. Enter data (loan amount, interest rate, term, etc.) onto spreadsheet and use the PMT function and cell references..

  Create a data dictionary

Construct a query that will show the number of days that exist between the first invoice and last invoice, for each month, for each employee, using the DATEDIFF function. Be sure to provide the SQL script that will carry out this function.

  Create a database design specification

The Enhanced Entity Relationship Diagram (EERD) produced with a drawing or case tool. Your EERD must use a 'standard' notation style such as Crows Foot or Chen.

  Explain components represented in cell using mccumber model

Suppose that the security model is required for protection of information in class. Using NSTISSC model, analyze each of cells (i.e. 27 cells related with McCumber model).

  Provide the sql to amend the original table design

You have been given the following specifications of a simple database for a netball association that keeps record of players, teams and matches.

  Each technician is an expert on one or more plane model

Each technician is an expert on one or more plane model(s), and his or her exper-tise may overlap with that of other technicians. This information about technicians must also be recorded.

  Describe the relationships depicted in the given erd

Describe the relationships (identify the business rules) depicted in the Crow's Foot ERD shown in Figure.

  Create an entity relationship diagram

Create an entity/relationship diagram (ERD) showing all your entities, attributes, and relationships. Sketch your ERD by hand or use a drawing program. Your diagram must beon a single page

  Identify entity and relationships that implied by geocaching

Your task is to identify the entities and relationships that are implied by the geocaching cache page (see below). In effect, you will be analysing the structure of the database that supports the site.

  Design a flowchart or pseudocode

Design a flowchart or pseudocode for the following:A program that accepts a candy name (for example, "chocolate-covered blueberries"), price per pound, and number of pounds sold in the average month, and displays the item's data only if it is a be..

  Explain k-means clustering algorithm to group the homicides

In this assignment, analyze crime rates using data mining clustering techniques (K-means) to get an accurate prediction to enable police forces to get a clear picture of criminals and solve crimes.

  Explain the business rules that could impact the structure

Explain the business rules that could impact the structure of the database. Describe the business rules that could impact the structure of the database.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd